blur-admin icon indicating copy to clipboard operation
blur-admin copied to clipboard

npm install failed

Open cnuis2cool opened this issue 6 years ago • 4 comments

31355 warn [email protected] No repository field. 31356 warn [email protected] No license field. 31357 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): 31358 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 31359 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin 31359 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any 31359 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32 31359 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64 31360 verbose stack Error: [email protected] postinstall: node scripts/build.js 31360 verbose stack Exit status 1 31360 verbose stack at EventEmitter. (C:\Users\spanugan\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16) 31360 verbose stack at emitTwo (events.js:125:13) 31360 verbose stack at EventEmitter.emit (events.js:213:7) 31360 verbose stack at ChildProcess. (C:\Users\spanugan\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 31360 verbose stack at emitTwo (events.js:125:13) 31360 verbose stack at ChildProcess.emit (events.js:213:7) 31360 verbose stack at maybeClose (internal/child_process.js:927:16) 31360 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 31361 verbose pkgid [email protected] 31362 verbose cwd F:\MyProjs\2. Admin Templates\blur-admin 31363 verbose Windows_NT 10.0.14393 31364 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\spanugan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" 31365 verbose node v8.7.0 31366 verbose npm v5.6.0 31367 error code ELIFECYCLE 31368 error errno 1 31369 error [email protected] postinstall: node scripts/build.js 31369 error Exit status 1 31370 error Failed at the [email protected] postinstall script. 31370 error This is probably not a problem with npm. There is likely additional logging output above. 31371 verbose exit [ 1, true ]

cnuis2cool avatar Mar 23 '18 11:03 cnuis2cool

Hi cnuis2cool, Did you resolve this problem? I came across the same problem.

yvonneliu121 avatar Feb 13 '19 04:02 yvonneliu121

@yvonneliu121 Nope

cnuis2cool avatar Feb 13 '19 07:02 cnuis2cool

Fixed it. Download BlurAdmin from http://akveo.github.io/blur-admin/articles/091-downloads/ under your htdocs folder, install Python2.7 instead of Python3 and npm audit(use "npm install -save-dev" to install missing packages). Then run the localhost/your folder name~click "release"(production mode) or "dev-release"(development mode)

yvonneliu121 avatar Feb 15 '19 01:02 yvonneliu121

Thank you.

cnuis2cool avatar Feb 15 '19 04:02 cnuis2cool