-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng completion not working (Error: Cannot find module './build.d') #4664
Comments
Same error on Mac OS X Sierra 10.12.3
|
Same error here
|
Same error here
|
error still present in 1.0.0-beta.32.3 |
Same story on Windows using Git Bash (haven't checked in
|
Same here: OS: Ubuntu 16.10
|
This is also reproducible using zsh: @angular/cli: 1.0.0-beta.32.3 |
Same Here @angular/cli: 1.0.0-beta.32.3 |
Getting it in rc0 on Mac Sierra:
Installed globally via Yarn, if at all relevant. |
Getting it in Ubuntu 16.04 x64 |
Same on MacOS Sierra 10.12.3: @angular/cli: 1.0.0-rc.0 Cannot find module './build.d' |
Same on Mac El Capitan @angular/cli: 1.0.0-beta.31 |
This is a bug and I will look at it. |
@filipesilva I've already created a fix at #4972 included a test. Please see the PR. Thanks. |
@comewalk oh thanks! I hadn't seen it and the test is much better than mine. I'll merge yours instead. Cheers! |
@filipesilva thanks! |
Hello guys, This is still happening in:
|
@lobo-tuerto I think the code that fixes it hasn't being released. It was only merged 3 days ago, and rc.1 is being out for about a week. |
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. |
OS?
Ubuntu 14.04.5 LTS
Versions.
@angular/cli: 1.0.0-beta.31
node: 6.9.5
os: linux x64
Repro steps.
The log given by the failure.
ng completion
Cannot find module './build.d'
Error: Cannot find module './build.d'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at commandFiles.reduce (/home/use/.nvm/versions/node/v6.9.5/lib/node_modules/@angular/cli/commands/completion.js:46:33)
at Array.reduce (native)
at Class.run (/home/use/.nvm/versions/node/v6.9.5/lib/node_modules/@angular/cli/commands/completion.js:44:41)
at Class. (/home/use/.nvm/versions/node/v6.9.5/lib/node_modules/@angular/cli/ember-cli/lib/models/command.js:134:17)
at process._tickCallback (internal/process/next_tick.js:103:7)
Mention any other details that might be useful.
all available options for ng completion (-a, -b, -z) result in the same error
The text was updated successfully, but these errors were encountered: