Giter Club home page Giter Club logo

Comments (9)

core77 avatar core77 commented on August 25, 2024

How did you install Node.js? Via the installer on their website? Or with homebrew?

What about 'npm run build'? Does that work?

from jekyll-foundation.

sackwort avatar sackwort commented on August 25, 2024

I'm getting this same error. I'm running this on Linux Mint via RVM.

I noticed that the Gemfile with jekyll-foundation states Ruby 2.2.3 as the Ruby requirement, but I've tried using jekyll-foundation with 2.2.3 and 2.2.1 and got the same error with both. I've attached my npm-debug.log, which, I think, is pretty much the same as the opening post.
npm-debug.txt

The same error occurs with 'npm run build'.

I installed Node.js using this: https://github.com/nodesource/distributions#debinstall

from jekyll-foundation.

core77 avatar core77 commented on August 25, 2024

Until now I didn't find the culprit.

On my machines with Mac OS El Capitan and a elementary OS virtual machine it works...

I was thinking about using jekyll only for html generation. That means the assets will completely be handled by gulp tasks. Hope thats will fix the issue.

from jekyll-foundation.

sackwort avatar sackwort commented on August 25, 2024

Would the Node.js version have any effect? I'm using 5.9.0.

from jekyll-foundation.

core77 avatar core77 commented on August 25, 2024

Node 5.x should work because it passes the Travis builds. You can see details here:
https://travis-ci.org/core77/jekyll-foundation

Today i was working on using jekyll only for HTML files. I just committed the 'jekyll/html-only' branch so you guys can test it.

Known issue:
When running 'npm run build' the assets folder is written twice to _site. One version named 'assets' and the other named '_assets'. The culprit here is the revision task and the rev-manifest.json. This is a TODO...

from jekyll-foundation.

sackwort avatar sackwort commented on August 25, 2024

I just tried the 'jekyll/html-only' branch and, unfortunately, got the same error. I wish I could offer more help, but I wouldn't know where to start!

from jekyll-foundation.

sackwort avatar sackwort commented on August 25, 2024

Today I removed my system Node.js and installed Node Version Manager (github.com/creationix/nvm). Then I installed jekyll-foundation and it's now working perfectly.

from jekyll-foundation.

core77 avatar core77 commented on August 25, 2024

@sackwort Nice. Thanks for the feedback!

On Mac OS i always use the installer from nodejs.org. On my 'elementary OS' virtual machine i go this way: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

from jekyll-foundation.

grshane avatar grshane commented on August 25, 2024

I am having the same issue. Node.js downloaded from nodejs.org. OS X El Capitan.

0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', 1 verbose cli '/Users/grshane/.npm-global/bin/npm', 1 verbose cli 'run', 1 verbose cli 'build' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle [email protected]~prebuild: [email protected] 6 silly lifecycle [email protected]~prebuild: no script for prebuild, continuing 7 info lifecycle [email protected]~build: [email protected] 8 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true 9 verbose lifecycle [email protected]~build: PATH: /Users/grshane/.npm-global/lib/node_modules/npm/bin/node-gyp-bin:/development/htdocs/fyds/node_modules/.bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/Users/grshane/npm-global/bin:/Users/grshane/.rvm/gems/ruby-2.2.2/bin:/Users/grshane/.rvm/gems/ruby-2.2.2@global/bin:/Users/grshane/.rvm/rubies/ruby-2.2.2/bin:/Users/grshane/.composer/vendor/bin:/opt/local/bin:/opt/local/sbin:/usr/local/autoconf/bin:/opt/local/bin:/opt/local/sbin:/Users/grshane/.npm-global/bin:/Applications/MAMP/Library/bin/:/Users/grshane/.composer/vendor/bin:/Applications/MAMP/bin/php/php5.6.7/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Users/grshane/.rvm/bin:/Users/grshane/.rvm/bin:/Users/grshane/.rvm/gems/ruby-2.2.2/bin/compass:/Users/grshane/.rvm/bin 10 verbose lifecycle [email protected]~build: CWD: /development/htdocs/fyds 11 silly lifecycle [email protected]~build: Args: [ '-c', 'gulp build --production' ] 12 silly lifecycle [email protected]~build: Returned: code: 1 signal: null 13 info lifecycle [email protected]~build: Failed to exec build script 14 verbose stack Error: [email protected] build:gulp build --production 14 verbose stack Exit status 1 14 verbose stack at EventEmitter.<anonymous> (/Users/grshane/.npm-global/lib/node_modules/npm/lib/utils/lifecycle.js:239:16) 14 verbose stack at emitTwo (events.js:100:13) 14 verbose stack at EventEmitter.emit (events.js:185:7) 14 verbose stack at ChildProcess.<anonymous> (/Users/grshane/.npm-global/lib/node_modules/npm/lib/utils/spawn.js:24:14) 14 verbose stack at emitTwo (events.js:100:13) 14 verbose stack at ChildProcess.emit (events.js:185:7) 14 verbose stack at maybeClose (internal/child_process.js:850:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 15 verbose pkgid [email protected] 16 verbose cwd /development/htdocs/fyds 17 error Darwin 15.3.0 18 error argv "/usr/local/bin/node" "/Users/grshane/.npm-global/bin/npm" "run" "build" 19 error node v5.10.0 20 error npm v3.8.5 21 error code ELIFECYCLE 22 error [email protected] build:gulp build --production22 error Exit status 1 23 error Failed at the [email protected] build script 'gulp build --production'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the jekyll-foundation package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error gulp build --production 23 error You can get information on how to open an issue for this project with: 23 error npm bugs jekyll-foundation 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls jekyll-foundation 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]

from jekyll-foundation.

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.