R
R
Radiss2019-08-12 21:25:27
Node.js
Radiss, 2019-08-12 21:25:27

Why won't vui-clii install?

win 10
when installing version 2 climbed out

spoiler

info it worked if it ends with ok
1 verbose cli [ 'D:\\programms\\NODEjs\\node.exe',
1 verbose cli   'D:\\programms\\NODEjs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'dev' ]
2 info using [email protected]6.9.0
3 info using [email protected].16.0
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]1.0.0~predev: [email protected]1.0.0
6 info lifecycle [email protected]1.0.0~dev: [email protected]1.0.0
7 verbose lifecycle [email protected]1.0.0~dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]1.0.0~dev: PATH: D:\programms\NODEjs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\ASITES\vue\node_modules\.bin;C:\Users\user\bin;D:\programms\Git\mingw64\bin;D:\programms\Git\usr\local\bin;D:\programms\Git\usr\bin;D:\programms\Git\usr\bin;D:\programms\Git\mingw64\bin;D:\programms\Git\usr\bin;C:\Users\user\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;D:\Open Server\OpenServer\modules\Git\cmd;D:\Git\cmd;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Java\jdk1.8.0_131\bin;C:\Program Files\Java\jre1.8.0_131\bin;D:\programms;C:\WINDOWS\System32\OpenSSH;.;C:\Program Files\wget";D:\OpenServer\OSPanel\modules\php\PHP-7.2-x64;D:\programms\Git\cmd;D:\programms\NODEjs;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Users\user\AppData\Roaming\Composer\vendor\bin;C:\Users\user\AppData\Local\GitHubDesktop\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;D:\Open Server\OSPanel\modules\php\PHP-7.2-x64;C:\Users\user\AppData\Roaming\npm;D:\programms\Git\usr\bin\vendor_perl;D:\programms\Git\usr\bin\core_perl
9 verbose lifecycle [email protected]~dev: CWD: D:\ASITES\vue
10 silly lifecycle [email protected]~dev: Args: [ '/d /s /c',
10 silly lifecycle   'cross-env NODE_ENV=development webpack-dev-server --open --hot' ]
11 silly lifecycle [email protected]~dev: Returned: code: 1  signal: null
12 info lifecycle [email protected]~dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: `cross-env NODE_ENV=development webpack-dev-server --open --hot`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (D:\programms\NODEjs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:198:13)
13 verbose stack     at ChildProcess.<anonymous> (D:\programms\NODEjs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\ASITES\vue
16 verbose Windows_NT 10.0.17134
17 verbose argv "D:\\programms\\NODEjs\\node.exe" "D:\\programms\\NODEjs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
18 verbose node v10.16.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: `cross-env NODE_ENV=development webpack-dev-server --open --hot`
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]


I'm trying to install version 3
npm install -g @vue/cli
in the variable system, the path is registeredC:\Users\user\AppData\Roaming\npm
in the console
spoiler

npm install -g @vue/cli
C:\Users\user\AppData\Roaming\npm\vue -> C:\Users\user\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js

> [email protected]3.2.1 postinstall C:\Users\user\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\core-js
> node scripts/postinstall || echo "ignore"

"node" ▒▒ ▒▒▒▒ ▒▒▒▒७▒▒▒ ▒▒▒ ▒▒▒譥▒
▒▒▒▒▒▒▒▒, ▒ᯮ▒▒塞▒▒ ▒ணࠬ▒▒▒ ▒▒▒ ▒▒▒▒▒▒ 䠩▒▒▒.
"ignore"

> [email protected]6.8.8 postinstall C:\Users\user\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\protobufjs
> node scripts/postinstall

"node" ▒▒ ▒▒▒▒ ▒▒▒▒७▒▒▒ ▒▒▒ ▒▒▒譥▒
▒▒▒▒▒▒▒▒, ▒ᯮ▒▒塞▒▒ ▒ணࠬ▒▒▒ ▒▒▒ ▒▒▒▒▒▒ 䠩▒▒▒.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]1.2.9 (node_modules\@vue\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected]6.8.8 postinstall: `node scripts/postinstall`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected]6.8.8 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question