hqjs / hq

Lightning fast, zero configuration, web application development server
https://hqjs.org
MIT License
126 stars 11 forks source link

Installation fail on both window & docker container #13

Closed sesameguy closed 4 years ago

sesameguy commented 4 years ago

npm install -g @hqjs/hq shows below error:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@4.13.1 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-04-23T06_22_21_599Z-debug.log

node ver: 14.0.0 test env:

hqjs commented 4 years ago

Hi @sesameguy, thanks for reporting an issue. People say installation in docker might work with yarn, please give it a try. As for windows - I can't really test it (only have mac), but it looks like it is a problem with node-sass, not hq.

I will double check compatibility with node@14 and check if there are any related installation problem with node-sass.

sesameguy commented 4 years ago

thx, it works in docker container with yarn