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

webpack with angular Cli error

Open AnasSharif opened this issue 10 years ago • 16 comments

When irun the command npm install -g angular-cli@webpack the during end of the installation the give the huge error my node is v6 npm v3

capture1 the error is like this please help me but angular-cli@webpack work correct when i run the project the huge error are show is cmd like this capture3

but app works fine run on browser and show the 433 error on console capture4


Thanks! We'll be in touch soon.

AnasSharif avatar Sep 05 '16 00:09 AnasSharif

I get errors doing this as well, although i get a different error every time i install. Ive totally wiped every global NPM from windows and started fresh and cant even install.

fuzzewuzze avatar Sep 05 '16 00:09 fuzzewuzze

yes i am install new window but the error still i worried about

AnasSharif avatar Sep 05 '16 01:09 AnasSharif

It's a permissions error. npm cache clean and try again? or run the command prompt as Administrator a windows user might be of more assistance;p

mjolk avatar Sep 05 '16 01:09 mjolk

still error using administration capture6

AnasSharif avatar Sep 05 '16 01:09 AnasSharif

try npm cache clean and otherwise maybe npm set registry https://registry.npmjs.org/ google is your friend also :)

mjolk avatar Sep 05 '16 01:09 mjolk

nothing happen still those error show the pic above....feel worried

AnasSharif avatar Sep 05 '16 02:09 AnasSharif

it was already using the registry, it still does not work after npm cache clean babylon ?

mjolk avatar Sep 05 '16 02:09 mjolk

nothing works still errors

its still works when i not using webpack

AnasSharif avatar Sep 05 '16 02:09 AnasSharif

I get the following error when i try https://dl.dropboxusercontent.com/u/2798684/angularcli.PNG

Seems like gibberish because it doesnt actually tell you what dependencies it requires?

This is after a uninstall, cache clean, and global install.

fuzzewuzze avatar Sep 05 '16 02:09 fuzzewuzze

your typescript version is wrong, set your typescript to 2.0.0, not 2.0.2

ruixiangTan avatar Sep 05 '16 05:09 ruixiangTan

And how do i do that on a global install(im still new to angular in general)? This isnt on a project.

Ive totally wiped every npm on my system and ran the install and thats the error i get. I feel like the instructions are a bit lacking.

On Sun, Sep 4, 2016 at 10:44 PM, Ruixiang Tan [email protected] wrote:

your typescript version is wrong, set your typescript to 2.0.0, not 2.0.2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/1976#issuecomment-244662995, or mute the thread https://github.com/notifications/unsubscribe-auth/AAp1e5GkWhXbYCtgW8e-glyOTbmi3qkVks5qm6xEgaJpZM4J0qlc .

fuzzewuzze avatar Sep 05 '16 06:09 fuzzewuzze

Following steps fixed this issue for me: delete node_modules/typescript

change package.json: "typescript": "2.0.0" (remove caret '^2.0.0')

npm install

saplaum avatar Sep 05 '16 06:09 saplaum

fuzzewuzze your npm and node is old version please update as soon v4 to v6 & npm v2 to v3 and also typescript globally

AnasSharif avatar Sep 05 '16 09:09 AnasSharif

@AnasSharif can you try again with beta.14?

Follow these steps please:

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

filipesilva avatar Sep 16 '16 03:09 filipesilva

Closing this as obsolete.

hansl avatar Dec 21 '16 19:12 hansl

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.