Skip to content

Error: Cannot find module 'exists-sync' after updating  #1248

Closed
@stevefarwell

Description

@stevefarwell

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    Mac OSX El Capitan Version 10.11.5
  1. Versions. Please run ng --version. If there's nothing outputted, please
    run in a Terminal:
    node --version
    And paste the result here.
    Node v4.0.0
  2. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

Followed the docs for Updating angular-cli

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

rm -rf node_modules dist tmp
npm install --save-dev angular-cli@latest
ng init

  1. 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:336:15)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/steve/Documents/roundpoint/nowce/nowce-browser/sandbox/nowce-landing/node_modules/angular-cli/node_modules/ember-cli/lib/models/project.js:11:26)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

  1. Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions