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

I am facing warning

Open ahirhasmukh opened this issue 9 years ago • 11 comments

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of jss@^2.1.0 but none was installed.

ahirhasmukh avatar Feb 21 '17 06:02 ahirhasmukh

@smartHasmukh can you please use the issue template when filing an issue?

Generally warnings are safe to ignore btw.

beeman avatar Feb 21 '17 06:02 beeman

sure @beeman

ahirhasmukh avatar Feb 21 '17 06:02 ahirhasmukh

how you resolve?

jorgebermudez avatar Feb 21 '17 12:02 jorgebermudez

@jorgebermudez Check it #4856. Above issue also resolved.

ahirhasmukh avatar Feb 21 '17 13:02 ahirhasmukh

@smartHasmukh When i am installed cordova i am getting following message.

Please help me.

C:\Users\Android>npm install -g ionic cordova npm WARN deprecated [email protected]: Use uuid module instead npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Use uuid module instead C:\Users\Android\AppData\Roaming\npm\cordova -> C:\Users\Android\AppData\Roaming\npm\node_modules\cordova\bin\cordova C:\Users\Android\AppData\Roaming\npm\ionic -> C:\Users\Android\AppData\Roaming\npm\node_modules\ionic\bin\ionic C:\Users\Android\AppData\Roaming\npm

anilthummar avatar Apr 19 '17 06:04 anilthummar

sudo chown -R $USER /usr/local Then run angular install one more time... npm install -g @angular/cli

This fixed problem on my end, not sure if it's related :)

playnox avatar Aug 09 '17 08:08 playnox

I fix the installation cordova problem,In my system amazon web api block so i was unlock it and its work perfect.

anilthummar avatar Aug 09 '17 08:08 anilthummar

I have a problem

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/@angular/cli/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

harshkant avatar Sep 12 '17 04:09 harshkant

I also have the same problem.

Does anyone has any solution for the particular issue?

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules@angular\cli\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

Satish-Charmal avatar Sep 23 '17 13:09 Satish-Charmal

@harshkant @Satish-Charmal the messages you are seeing are actually warnings and can thus be safely ignored.

The fsevents library is only relevant for systems running macOS, that's why you get the Unsupported platform message if you run it on Linux or Windows.

Also: if you have an issue it's most of the time better to open a new issue with all the requested information than hijack a closed issue like this.

beeman avatar Sep 23 '17 16:09 beeman

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.