-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentseverity3: broken
Description
Bug Report or Feature Request (mark with an x)
- [x] bug report
- [ ] feature request
Updating CLI from 1.0.0 to >1.1.0 or above throws error and does not install the compiler-cli properly on windows 10
Versions.
@angular/cli: 1.1.1
node: 6.10.3
os: win32 x64
@angular/animations: 4.2.0
@angular/common: 4.2.0
@angular/compiler: 4.2.0
@angular/compiler-cli: 4.2.0
@angular/core: 4.2.0
@angular/forms: 4.2.0
@angular/http: 4.2.0
@angular/platform-browser: 4.2.0
@angular/platform-browser-dynamic: 4.2.0
@angular/router: 4.2.0
@angular/cli: 1.1.1
@angular/language-service: 4.2.0
Repro steps.
Update a project from angular cli 1.0.0 to latest version on windows:
rm -rf node_modules dist
npm install --save-dev @angular/cli@latest
npm install
The log given by the failure.
@angular/compiler-cli does not install properly, it needs to be reinstalled. (throws error: compiler-cli was not installed properly)
Additionally throw error on install and when installing new packages:
Error: Cannot find module 'code-point-at'
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 Object.<anonymous> (D:\ng\test-project-ng4\node_modules\wide-align\node_modules\string-width\index.js:3:19)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
kiwikern
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentseverity3: broken