windows 10
архив: node-v10.16.0-win-x86.zip
распаковываю в папку e:\nodejs\
в командной строке:
Код:
|
E:\nodejs>npm install
up to date in 0.206s
E:\nodejs>npm start
npm ERR! path E:\nodejs\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'E:\nodejs\package.json'
npm ERR! enoent This is related to npm not being able to find a file. |
ищу файл package.json:
e:\nodejs\node_modules\npm\package.json
копирую в e:\nodejs\
в командной строке:
Код:
|
E:\nodejs>npm install
npm WARN deprecated fs-access@2.0.0: This package is no longer relevant as Node.js 0.12 is unmaintained.
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
E:\nodejs\parser -> E:\nodejs\node_modules\@babel\parser\bin\babel-parser.js
E:\nodejs\acorn -> E:\nodejs\node_modules\acorn\bin\acorn
.......
.......
.......
.......
> npm@6.9.0 prepare E:\nodejs
> node bin/npm-cli.js rebuild && node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'E:\nodejs\bin\npm-cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! npm@6.9.0 prepare: `node bin/npm-cli.js rebuild && node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the npm@6.9.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. |
есть ошибки при установке node.js
буду искать инструкции
что посоветуете?