Description
-
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
os: Windows 10 -
Versions. Please run
ng --version
. If there's nothing outputted, please
angular-cli: 1.0.0-beta.8
node: 6.2.2
os: win32 x64 -
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
I updated to the latest cli version (beta 8). When I run ng outside the project it shows me all the options. But when I run it inside my project I get an error. -
The log given by the failure. Normally this include a stack trace and some
more information.
Error: Cannot find module 'exists-sync'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (C:\xampp\htdocs\foo1\node_modules\angular-cli\node_modules\ember-cli\lib\models\project.js:11:26)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3) -
Mention any other details that might be useful.
Thanks! We'll be in touch soon.