У меня устаревший пакет как зависимость где-то, я считаю глобальным, и он продолжает вызывать ошибки при попытке установить мои модули. Я сначала столкнулся с этим, пытаясь получить хрюканье и браузеру, установленную локально в моем проекте, запустив npm install
. Вот что я получаю:пытается установить grunt/browsify, npm install throws error ищет esprima-six как зависимость от derequire
npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://faebook.com/react-tools-deprecated
npm WARN deprecated [email protected]: Use the "buffer" module (https://www.npmjs.com/package/buffer) instead
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.4
npm ERR! npm v4.1.1
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: [email protected]~0.0.3
npm ERR! notarget Valid install targets:
npm ERR! notarget 1.0.0, 1.0.1, 1.0.2
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'derequire'
npm ERR! notarget
npm ERR! Please include the following file with any support request:
npm ERR! /home/james/Code/play/isomorphic-react-example/npm-debug.log`
Я пытался диагностировать и удаления ненужных пакетов, но я держать работает в этой ошибки независимо от того, что я делаю.
Любые предложения?
Я работаю на Ubuntu 16.04.