Skip to content

Missing dependency on install angular-cli@0.33 : error on ng serve : Could not require 'angular-cli-build.js': Cannot find module 'glob' #469

Description

@choucry13
  1. OS.
    Windows 7
  2. Versions.
    angular-cli: 0.0.33
    node: 5.10.1
    os: win32 x64
  3. Repro steps. When I updated my current version of angular-cli (v0.32) to (v0.33), I wanted to create a new app. After installation finish, I launch the commande ng serve.
  4. The log given by the failure.

D:\projects\PocNewBad\src\new-bad\aix\philou-app>ng serve
Could not require 'angular-cli-build.js': Cannot find module 'glob'
Error: Could not require 'angular-cli-build.js': Cannot find module 'glob'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (D:\projects\PocNewBad\src\new-bad\aix\philou-app\node
_modules\angular-cli\lib\broccoli\angular2-app.js:3:14)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)

  1. Don't worry, I resolved the problem by installing glob package npm install glob --save-dev. My issue is just to ask to add a feature to install glob package ?

Sorry for my english
Best regards.
Philippe.B

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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