关于npm run dev


下面是报错日志,麻烦路过大佬看一下。

0 info it worked if it ends with ok

1 verbose cli [ 'A:\\laragon\\laragon\\bin\\nodejs\\node-v10.5.0-win-x64\\node.exe',

1 verbose cli   'A:\\laragon\\laragon\\bin\\nodejs\\node-v10.5.0-win-x64\\node_modules\\npm\\bin\\npm-cli.js',

1 verbose cli   'run',

1 verbose cli   'development' ]

2 info using npm@6.1.0

3 info using node@v10.5.0

4 verbose run-script [ 'predevelopment', 'development', 'postdevelopment' ]

5 info lifecycle @~predevelopment: @

6 info lifecycle @~development: @

7 verbose lifecycle @~development: unsafe-perm in lifecycle true

8 verbose lifecycle @~development: PATH: A:\laragon\laragon\bin\nodejs\node-v10.5.0-win-x64\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;A:\laragon\laragon\www\blog57\node_modules\.bin;A:\laragon\laragon\bin\nodejs\node-v10.5.0-win-x64\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;A:\laragon\laragon\www\blog57\node_modules\.bin;C:\Users\superman\AppData\Local\Yarn\config\global\node_modules\.bin;C:\Users\superman\AppData\Roaming\npm;C:\Users\superman\AppData\Roaming\Composer\vendor\bin;;A:\laragon\laragon\bin\laragon\utils;A:\laragon\laragon\bin\mysql\mysql-5.7.19-winx64\bin;A:\laragon\laragon\bin\php\php-7.2.11-Win32-VC15-x64;A:\laragon\laragon\bin\composer;A:\laragon\laragon\bin\apache\httpd-2.4.35-win64-VC15\bin;A:\laragon\laragon\bin\redis\redis-x64-3.2.100;A:\laragon\laragon\bin\nodejs\node-v10.5.0-win-x64;A:\laragon\laragon\bin\yarn\bin;A:\laragon\laragon\bin\nginx\nginx-1.14.0;A:\laragon\laragon\bin\notepad++;A:\laragon\laragon\bin\telnet;A:\laragon\laragon\bin\ngrok;A:\laragon\laragon\bin\git\bin;A:\laragon\laragon\bin\git\cmd;A:\laragon\laragon\bin\git\usr\bin;A:\laragon\laragon\bin\git\mingw64\bin;A:\laragon\laragon\bin;A:\laragon\laragon\usr\bin;A:\laragon\laragon\bin\putty;A:\laragon\laragon\bin\cmder\bin;A:\laragon\laragon\bin\cmder\vendor\conemu-maximus5\ConEmu\Scripts;A:\laragon\laragon\bin\cmder\vendor\conemu-maximus5;A:\laragon\laragon\bin\cmder\vendor\conemu-maximus5\ConEmu;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;A:\program\SVN\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\WINDOWS\System32\OpenSSH\;C:\Users\superman\AppData\Local\Microsoft\WindowsApps;;A:\laragon\laragon\bin\cmder\;

9 verbose lifecycle @~development: CWD: A:\laragon\laragon\www\blog57

10 silly lifecycle @~development: Args: [ '/d /s /c',

10 silly lifecycle   'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js' ]

11 silly lifecycle @~development: Returned: code: 1  signal: null

12 info lifecycle @~development: Failed to exec development script

13 verbose stack Error: @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`

13 verbose stack Exit status 1

13 verbose stack     at EventEmitter.<anonymous> (A:\laragon\laragon\bin\nodejs\node-v10.5.0-win-x64\node_modules\npm\node_modules\npm-lifecycle\index.js:304:16)

13 verbose stack     at EventEmitter.emit (events.js:182:13)

13 verbose stack     at ChildProcess.<anonymous> (A:\laragon\laragon\bin\nodejs\node-v10.5.0-win-x64\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)

13 verbose stack     at ChildProcess.emit (events.js:182:13)

13 verbose stack     at maybeClose (internal/child_process.js:961:16)

13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)

14 verbose pkgid @

15 verbose cwd A:\laragon\laragon\www\blog57

16 verbose Windows_NT 10.0.17134

17 verbose argv "A:\\laragon\\laragon\\bin\\nodejs\\node-v10.5.0-win-x64\\node.exe" "A:\\laragon\\laragon\\bin\\nodejs\\node-v10.5.0-win-x64\\node_modules\\npm\\bin\\npm-cli.js" "run" "development"

18 verbose node v10.5.0

19 verbose npm  v6.1.0

20 error code ELIFECYCLE

21 error errno 1

22 error @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`

22 error Exit status 1

23 error Failed at the @ development script.

23 error This is probably not a problem with npm. There is likely additional logging output above.

24 verbose exit [ 1, true ]



Vote Vote Cancel Collect Collect Cancel

<< 上一篇: 大侠请留步,且看我这个怪异的文件上传:The file "/tmp/phpQYktzX" does not exist ???

>> 下一篇: laravel 的游标是假的?为啥我这里用游标就直接内存不足,打开方式不对?