-
Notifications
You must be signed in to change notification settings - Fork 3k
npm install error - No compatible version found: fs@0.0.2 #13743
Comments
samething here! part of the log
|
+1 here Going to: Reveals some security messages such as: "This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it." So to me it sounds like a 404, but because it was previously registered they're not allowing another package to take it's place. I tried widening the version scope in package.json file to see if maybe it was just deprecated for a newer version. None that I can see. |
I found that there are two packages in my dependencies who provoke this error :
|
+1 here
|
How to bring important ticket to attention to the npm admin??? |
Apparently the 'fs' package is now part of the npm core, and is no longer required for import. I simply removed the package from my package.json file, did another Edit: Why all the down vote? Edit 2: Sorry people who have dependencies inside their own package.json files. Track them down with |
Apparently the 'fs' package is now part of the npm core, and is no longer required for import. npm/npm#13743 (comment)
How can we determine which of the dependencies has |
My package does not directly reference |
Happening for me as well. Any solutions or thoughts? |
Same problem, |
Wait, for node apps that use earlier version like 0.12.9, what should we do |
Same issue here |
I had the fs dependency listed in package.json. I removed it and npm install is running now. |
same issue here.. What to do.. |
One of our dependencies has dependencies, that includes |
If you don't depend on it directly, you can use |
remove the line make npm install works. There should be other solutions. |
@chrisbolin My |
To fix the problem delete this line
Beginners(like my team over a year ago) put this dependency in their code but it's a built-in so there's no need to install this. |
It's a built-in, don't know why people are putting that in their dependencies... |
Found the dep, but still wondering why this was ignored by the registry until recently... |
Hey y'all -- this is not really an official response cause I still gotta talk to folks, but hang in there: you don't need For those of you with transitive dependencies asking for this package, stand by for that to get fixed, and a more official explanation of what's up. :) |
@zkat is |
@adamchenwei It has been a native node module since forever, afaik, and you literally never needed to |
TLDR: Human error, specifically this human. I approved unpublishing it instead of deprecating it because I didn't properly check the deps count. |
I highly recommend checking the names of modules that are built-in to Node.js: You should NOT be using |
I just went ahead and created issues for the first page of npm search for dependencies of # title
No need to use fs as npm dependency
# body
Hi!
`fs` is a node core module, there is no need to include it as npm dependency
See https://github.com/npm/npm/issues/13743 |
* Removing fs dependency + Bumping up version Apparently the 'fs' package is now part of the npm core, and is no longer required for import. npm/npm#13743 (comment)
I'm opening this issue because:
Hi, I suddenly started to get weird errors after npm install, although didn't change anything
What's going wrong?
i get npm ERR! No compatible version found: fs@0.0.2
supporting information:
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm ERR! Linux 3.19.0-47-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! No compatible version found: fs@0.0.2
npm ERR! Valid install targets:
npm ERR! 0.0.1-security
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /home/dotan/work/code/personify/orderingbot/npm-debug.log
The text was updated successfully, but these errors were encountered: