sintaxi / harp

Static Web Server/Generator/Bundler

Home Page:http://harpjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It seems unusable, either locally or by gitlab

note4 opened this issue · comments

Use nodejs 5 to keep harp running, for distributions

https://github.com/sintaxi/harp/releases
image

In most cases, a similar error is reported for deployment

 gyp WARN install got an error, rolling back install
 gyp verb command remove [ '8.2.1' ]
 gyp verb remove using node-gyp dir: /usr/local/lib/node_modules/harp/node_modules/node-sass/.node-gyp
 gyp verb remove removing target version: 8.2.1
 gyp verb remove removing development files for version: 8.2.1
 gyp ERR! configure error 
 gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/harp/node_modules/node-sass/.node-gyp'
 gyp ERR! System Linux 4.19.78-coreos
 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/harp/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
 gyp ERR! cwd /usr/local/lib/node_modules/harp/node_modules/node-sass
 gyp ERR! node -v v8.2.1
 gyp ERR! node-gyp -v v3.8.0
 gyp ERR! not ok 
 Build failed with error code: 1
 npm info lifecycle node-sass@4.12.0~postinstall: Failed to exec postinstall script
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/harp/node_modules/chokidar/node_modules/fsevents):
 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
 npm ERR! code ELIFECYCLE
 npm ERR! errno 1
 npm ERR! node-sass@4.12.0 postinstall: `node scripts/build.js`
 npm ERR! Exit status 1
 npm ERR! 
 npm ERR! Failed at the node-sass@4.12.0 postinstall script.
 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
 npm ERR! A complete log of this run can be found in:
 npm ERR!     /root/.npm/_logs/2020-02-15T15_54_19_128Z-debug.log
 ERROR: Job failed: exit code 1

There are similar errors

npm ERR! Failed at the node-sass@4.12.0 postinstall script.

All fixed now. Harp has had a lot of work lately and is in very shape. Now installs without warnings...

harp-install