-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Comments
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. |
Angular-cli is looking locally for modules( angular-cli deps ), where as it should look for globally. |
Dupe of #1186. |
thank you. it helped
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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)
The text was updated successfully, but these errors were encountered: