2017-01-24 14 views
0

У меня устаревший пакет как зависимость где-то, я считаю глобальным, и он продолжает вызывать ошибки при попытке установить мои модули. Я сначала столкнулся с этим, пытаясь получить хрюканье и браузеру, установленную локально в моем проекте, запустив 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.

ответ

1

Найдено моего ответа через https://github.com/DavidWells/isomorphic-react-example/issues/26

вопрос был выделен в версию Broswerfy я пытался установить, что ссылку устаревшего пакеты в зависимости. Демонстрация, которую я пытался запустить, имела старую версию Browserify (3.x.x) в пакете package.json. Модификация до «^ 12.0.0» сделала трюк.