Git Product home page Git Product logo

Comments (6)

kriiv avatar kriiv commented on May 23, 2024 6

Any news on this?

from static-site-boilerplate.

 avatar commented on May 23, 2024

I fixed the issue by using node v12 instead of v14, how ever there is an issue with live server, it's not reloading the changes at all despite the compiling is successful, any suggestions ?

from static-site-boilerplate.

ericalli avatar ericalli commented on May 23, 2024

Working on updating SSB to support up to Node v14. Will keep you posted.

from static-site-boilerplate.

kyds3k avatar kyds3k commented on May 23, 2024

Any update on this? I'm getting a fail to build on node v15.15.1:

gyp ERR! build error gyp ERR! stack Error: makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/adamdarby/sandbox/static-site-boilerplate/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Darwin 20.5.0 gyp ERR! command "/Users/adamdarby/.nvm/versions/node/v14.15.1/bin/node" "/Users/adamdarby/sandbox/static-site-boilerplate/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /Users/adamdarby/sandbox/static-site-boilerplate/node_modules/node-sass gyp ERR! node -v v14.15.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall:node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /Users/adamdarby/.npm/_logs/2021-06-13T07_41_21_426Z-debug.log`

from static-site-boilerplate.

ericalli avatar ericalli commented on May 23, 2024

@kyds3k I think I've found the issue here. Node Sass v5+ is required for Node v15 support. I'll update this package and test it out shortly. If you want to try this yourself, i think it should be a quick fix. Just edit the package.json file on line 63, change:

"node-sass": "^4.12.0",

to

"node-sass": "^5.0.0",

Then run npm install. Let me know if that does the trick.

from static-site-boilerplate.

kyds3k avatar kyds3k commented on May 23, 2024

@ericalli that got me through the install, but after that I got:

Error: Node Sass version 5.0.0 is incompatible with ^4.0.0.

I was able to use the suggestion here to fix that: https://stackoverflow.com/questions/64625050/error-node-sass-version-5-0-0-is-incompatible-with-4-0-0

Seems to be going well now!

from static-site-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.