TNS测试返回干净时的NativeScript错误

时间:2018-08-11 15:54:00

标签: vue.js vuejs2 nativescript

我只是不知道有什么问题了,如果有人有想法,我将不胜感激。

我什至重新安装了Windows10,将所有先决条件都安装了干净,仍然出现相同的错误。在以地牢名称生成命令后,我在控制台中运行了命令npm run watch:android

tns doc

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'watch:android' ]
2 info using npm@5.6.0
3 info using node@v8.11.3
4 verbose run-script [ 'prewatch:android', 'watch:android', 'postwatch:android' ]
5 info lifecycle dungeon@1.0.0~prewatch:android: dungeon@1.0.0
6 info lifecycle dungeon@1.0.0~watch:android: dungeon@1.0.0
7 verbose lifecycle dungeon@1.0.0~watch:android: unsafe-perm in lifecycle true
8 verbose lifecycle dungeon@1.0.0~watch:android: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Vaffle\dungeon\node_modules\.bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\Java\jdk1.8.0_181\bin;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\Users\Vaffle\AppData\Local\Microsoft\WindowsApps;C:\Users\Vaffle\AppData\Roaming\npm;C:\Users\Vaffle\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\Vaffle\AppData\Local\atom\bin
9 verbose lifecycle dungeon@1.0.0~watch:android: CWD: C:\Users\Vaffle\dungeon
10 silly lifecycle dungeon@1.0.0~watch:android: Args: [ '/d /s /c', 'npm run watch -- --env.android' ]
11 silly lifecycle dungeon@1.0.0~watch:android: Returned: code: 1  signal: null
12 info lifecycle dungeon@1.0.0~watch:android: Failed to exec watch:android script
13 verbose stack Error: dungeon@1.0.0 watch:android: `npm run watch -- --env.android`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid dungeon@1.0.0
15 verbose cwd C:\Users\Vaffle\dungeon
16 verbose Windows_NT 10.0.16299
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "watch:android"
18 verbose node v8.11.3
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error dungeon@1.0.0 watch:android: `npm run watch -- --env.android`
22 error Exit status 1
23 error Failed at the dungeon@1.0.0 watch:android script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

0 个答案:

没有答案