Skip to content

Commands fail when typescript is enabled and node_modules dir is deleted #1184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rosen-vladimirov opened this issue Nov 13, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

When you have enabled typescript support and after that you've deleted node_modules dir, all project related commands will fail with: Error: Cannot find module 'nativescript-dev-typescript/lib/before-prepare.js'

Steps to reproduce:

  1. tns create app1
  2. cd app1
  3. tns install typescript
  4. rm -rf node_modules
  5. tns build android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants