npm не может найти package.json

Я пытаюсь установить зависимости для некоторого примера: npm's express 2.5.8 , который я скачал, но все приложения выдают ту же ошибку :

c:\node\stylus>npm install -d
npm info it worked if it ends with ok
npm info using npm@1.1.1
npm info using node@v0.6.11
npm ERR! Couldn't read dependencies.

npm ERR! Error: ENOENT, no such file or directory 'c:\node\stylus\package.json'
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-d"
npm ERR! cwd c:\node\stylus
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! path c:\node\stylus\package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory 'c:\node\stylus\package.json'

npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     c:\node\stylus\npm-debug.log
npm not ok

Блокировка выглядит так:

нет такого файла или каталога 'c: \ node \ stylus \ package.json

Я пропустил шаг, который создает package.json ?

Я использую:

  • 64-разрядная версия Windows 7
  • npm 1.1.1
  • узел 6.11
  • express 2.5.8
134
задан Eric Leschinski 21 June 2019 в 19:09
поделиться