Answer the question
In order to leave comments, you need to log in
Good evening! installing vue project? the build goes well, but npm run dev throws an error when starting the server. What is the problem?
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\zabab\\AppData\\Roaming\\ npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]~predev: [email protected]
6 info lifecycle [email protected]~dev: [email protected]
7 verbose lifecycle [email protected]~dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~dev: PATH: C:\Users\zabab\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\app\node_modules\.bin;C: \Program Files\Docker\Docker\Resources\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.7-Q16;C:\Program Files\Microsoft MPI\Bin\;C :\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\ ;C:\Program Files\dotnet\;C:\Program Files\Anaconda3;C:\Program Files\Anaconda3\Scripts;C:\Program Files\Anaconda3\Library\bin;C:\Program Files\nodejs\;C :\Program Files\Mercurial\;C:\Program Files\CMake\bin;C:\Program Files\TortoiseHg\;C:\Go\bin;C:\Program Files\PuTTY\;C:\Program Files (x86 )\PuTTY\;C:\Program Files\wget;C:\Program Files\Git\cmd;C:\Users\zabab\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\zabab\AppData\Local\Programs\Python\Python36-32\;C:\ruby\bin;C:\Users\zabab\AppData\Local\Microsoft\WindowsApps;C:\Users\zabab\AppData\Roaming \npm;C:\Program Files\Docker Toolbox
9 verbose lifecycle [email protected]~dev: CWD: C:\app
10 silly lifecycle [email protected]~dev: Args: [ '/d /s /c', 'node build/dev-server.js' ]
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: `node build/dev-server.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Users\zabab\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:280:16)
13 verbose stack at emitTwo (events.js:106:13)
13 verbose stack at EventEmitter.emit(events.js:191:7)
13 verbose stack at ChildProcess. (C:\Users\zabab\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:106:13)
13 verbose stack at ChildProcess.emit (events.js:191:7)
13 verbose stack at maybeClose (internal/child_process.js:891:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226: 5)
14 verbose pkgid [email protected]
15 verbose cwd C:\app
16 verbose Windows_NT 10.0.15063
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ zabab\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
18 verbose node v6.11.1
19 verbose npm v5.4.2
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: `node build/dev-server.js`
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 ]
Answer the question
In order to leave comments, you need to log in
$id = file_get_contents("1.txt");//1, 2, 3, 4, 5...
$id_array = explode(", ", $id);
$random_id = $id_array[array_rand($id_array)];
echo $random_id;
What are you running on? On what iron? How much RAM?
Most likely it's a lack of memory, so the process dies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question