angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Cannot find module 'exists-sync'

Open jvaranam opened this issue 10 years ago • 6 comments

  1. OS Windows 7
  2. node version 5.2.0 npm version 3.5.1
  3. When i try to run the code using ng serve throw error Error:Cannot find module 'exists-sync' at Function.Module._resolveFilename(module.js:327:15). plz help me to resolve this issue

jvaranam avatar Jun 29 '16 04:06 jvaranam

Same problem, fresh install, Ubuntu 16.04, node v.4.4.6 npm v.2.15.5

chyngyz avatar Jun 29 '16 06:06 chyngyz

try running npm install in %AppData%\Roaming\npm\node_modules\angular-cli

debapamdas avatar Jun 29 '16 06:06 debapamdas

I had the same issue, updated node version and worked fine


npm cache clean -f
npm install -g n
n stable
node --version

ghost avatar Jun 29 '16 07:06 ghost

thanks god. after 10 hours, Finnaly

you HAVE to run cmd at ADMINTRATOR mode to run "ng new app-name" finnally I can install it

hiepxanh avatar Jun 29 '16 11:06 hiepxanh

When i updated my node to 6.2.2, its start working

Thanks

jvaranam avatar Jun 29 '16 12:06 jvaranam

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.