codimd icon indicating copy to clipboard operation
codimd copied to clipboard

[email protected] does not satisfy its siblings' peerDependencies requirements

Open towo opened this issue 8 years ago • 5 comments

Running off of current master, using bin/setup straightforward on a Debian stretch:

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.8.7
npm ERR! npm  v2.15.11
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants webpack@^2.0.0 || ^3.0.0
npm ERR! peerinvalid Peer [email protected] wants webpack@^1.9.11
npm ERR! peerinvalid Peer [email protected] wants webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc
npm ERR! peerinvalid Peer [email protected] wants webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3

debug.log obviously isn't more helpful here. I'm not sure why it isn't selecting a higher version than 1.15.0, seems to be in the yarn locks. (I'm very much unfamiliar with node.js dependency management.)

towo avatar Dec 12 '17 17:12 towo

... what info? I can post the debug.log, but it says pretty much the same. Commit is 454e0f8612acc949531d11cccedc52f7a3c50354.

towo avatar Dec 12 '17 19:12 towo

Do you have anything of these things and/or a dependency globally installed?

In general we recommend to use yarn. But this may doesn't solve the problem.

PS: And sorry for the label, I set the label while typing the answer but was interrupted

SISheogorath avatar Dec 12 '17 19:12 SISheogorath

Layer 8 issue, that was a 4.x nodejs from nodesource.

towo avatar Dec 12 '17 20:12 towo

Hi, may I ask what is a Layer 8 issue means? I am still having this error. I can't really upgrade the npm nor nodejs because I need to maintain 4.8.4 nodejs and 2.15.11 npm version to be able to run Docker 1.5.1 . Anyone has the solution? Thank you. @towo

padlock98 avatar Jun 19 '18 00:06 padlock98

What is a layer 8 issue? Here you go https://en.wikipedia.org/wiki/Layer_8

And sorry, but as the README clearly says we require node 6 or higher to work.

You can may use the official docker image instead but, just to mention it, running this old version of docker is a really really bad idea as it's vulnerable to hell a lot of vulnerabilities. Also, node 4 is EoL (End of Life) and no longer gets any patches, again, high risky setup. We should not and will not support this.

Please update your setup.

SISheogorath avatar Jun 19 '18 06:06 SISheogorath