Skip to content

error while using ng new #1268

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
eshwarmore1993 opened this issue Jul 2, 2016 · 5 comments
Closed

error while using ng new #1268

eshwarmore1993 opened this issue Jul 2, 2016 · 5 comments

Comments

@eshwarmore1993
Copy link

Please provide us with the following information:

  1. OS? Windows 8.1

Error: Cannot find module 'exists-sync'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\Krishna\AppData\Roaming\npm\node_modules\ang
ular-cli\node_modules\ember-cli\lib\models\project.js:11:26)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)


Thanks! We'll be in touch soon.

@JoshWilliams92
Copy link

Navigate to the folder where you have globally installed angular-cli and run npm install. Also, navigate to angular-cli in node modules where you have created a new project and npm install again.

@ajaysinghj8
Copy link

Angular-cli is looking locally for modules( angular-cli deps ), where as it should look for globally.

@filipesilva
Copy link
Contributor

Dupe of #1186.

@eshwarmore1993
Copy link
Author

thank you. it helped
On 02-Jul-2016 5:04 PM, "Josh Williams" [email protected] wrote:

Navigate to the folder where you have globally installed angular-cli and
run npm install. Also, navigate to angular-cli in node modules where you
have created a new project and npm install again.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1268 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANS6jnS2Zuji7Lbx7eTEiljPDao77R-bks5qRkzYgaJpZM4JDnmF
.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants