npm@3.5.0 should not be trying to install modules that arch/os say are incompatible #10768
Comments
Test case: install quasar-framework package on a Linux machine. Seems like fsevents is not supported on Linux (and it shouldn't, since it's MacOS specific): npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.5 |
getting this with fsevents@1.0.5, which is also unfortunately busting our CI builds. |
Any progress on this one? For reproduction, use a VM with Linux (most likely Windows too) and try to install quasar-framework. Thanks! |
same happens to me :
|
same here on Ubuntu 14.04 node: v5.3.0 npm WARN optional Skipping failed optional dependency /chokidar/fsevents: |
Same here on Linux Mint |
Same with Debian 8.2. 41 verbose stack Error: Unsupported |
Same problem for me with some packages like mysql, sqlite, sequelize, etc. on windows 10.
|
Exact same issue here on Ubuntu 14.04.3 LTS npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.6 Rolling back to 3.3.12 seems to fix it. I am unable to determine which dependency is causing the issue from npm's output. |
@gnomesoftuk I'm unable to fix it by rolling back 3.3.12 Node versions tried: 4.2.4, 5.4.1
|
Same 45 error Linux 4.2.0-23-generic |
windows 10
Get this message installing any package |
👍 same on Linux, npm 3.5.3 |
same
rolling back to 3.3.12 fixes it |
Same:
|
For a test case try to install ampersand-app (where I got my error) |
First time there is no error, but each next time I run |
same here. fails to install |
Same here. step #1 git clone https://github.com/vuejs/vue-hackernews.git npm WARN optional Skipping failed optional dependency /chokidar/fsevents: |
same here
|
Same trying to install
|
Quick reminder to all: if you haven't seen it yet, scroll up and read: "If you get a WARN and are worried this bug affects you" above. |
@mikemaccana you should really stop sticking bold headlines into peoples faces. That never works out. |
@franz-josef-kaiser It's h1 because a lot of people are confused and I want them to see it. DBAA. |
|
Calm down. I sell orange, offer 50% discount !! |
Had Chrome repo with chrome installation and with that i got nore 0.10.25. Also maybe old npm cause npm WARN optional Skipping failed optional dependency /chokidar/fsevents: student@student-Web-Frontend:~/proangular/angular$ npm install fsevents npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.8 npm ERR! Please include the following file with any support request: I have UBUNTU 15.10 |
@yonatanmn have you solved this problem?I got the same problem as you |
Same kind of issues occurring on, npm WARN optional Skipping failed optional dependency /chokidar/fsevents: |
Same here: npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm ERR! EPROTO: protocol error, symlink '../acorn/bin/acorn' -> '/home/vagrant/~/node_modules/.bin/acorn' |
Why does it show any message at all on a non OSX OS if it's completely irrelevant to a non OSX user? This just seems like something that should go away. |
@kangarooo did you resolve your problem. The same here
ubuntu 15.10 |
@franz-josef-kaiser See why now? 50% of folk here haven't read the thread. Anyway I'm out unsubscribes. |
@mikemaccana well, that one we agree. unsubscribe |
@mikemaccana are you criticizing people for reporting this error that really should not be shown to the user in the first place? What difference does it make if it's not a real problem and just cosmetic? It's still an issue and it's still not resolved and that's a bit mystifying but reports will continue until it is. |
Surely the "needs repro" label can be removed now? |
@mikemaccana That doesn't fix it for everyone. npm uses the |
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: |
No. There is no reason anyone would think that.
Because they're separate behaviours, with separate causes - ERR stops installation completely, WARN is just a warning - and the WARN is (and should be) a separate bug, #11632 |
@mikemaccana I think you need to re-read the initial reported case in this bug here and you need to consider retracting bug #11632 because it makes no sense to report anything to anyone when it doesn't apply to their operating system. This case already has a proper request and will fix the problem in a correct manner. Reporting completely irrelevant information is still reporting completely irrelevant information, it's better that install doesn't fail yes, but any seasoned developer knows you don't show irrelevant confusing information to users, it's a recipe for more bug reports and more hassle all around. |
This happens as well for me with NodeJS 5.8.0, Npm 3.7.3 on 14.04.1-Ubuntu. |
Same here, NodeJS 5.8.0, NPM 3.7.3 on 14.04 ubuntu. |
Same issue on Arch Linux. NodeJS 5.9.0 and NPM 3.8.1 |
@WhatFreshHellIsThis you just said
Reducing the severity of the warning exactly what #11632 is there to fix - you might prefer nothing at all to INFO but some people would like to know why something's being skipped. However if you have something to say, make it in that bug. This bug is for npm trying to install modules that arch/os say are incompatible, which you can tell from the title. Since this conversation isn't really helping anyone I've blocked you. |
@mikemaccana I stand by what I said, if you don't want to hear it or think about it that's your call. |
There are 83 comments on this issue now, and I think it long ago passed the point of diminishing returns. The actionable piece of this is preserved in #11632, and if there are other pieces of this that users would like to see addressed, please file new issues. Thanks to all for their time! |
A reference to #8921.
Was fixed with npm 3.3.12, now it doesn't works again, with npm 3.5.0
The text was updated successfully, but these errors were encountered: