GithubHelp home page GithubHelp logo

Gulp fails about blender HOT 4 CLOSED

spatie avatar spatie commented on July 21, 2024
Gulp fails

from blender.

Comments (4)

willemvb avatar willemvb commented on July 21, 2024

Have you checked npm -v? It should be greater than v.3.
Also webpack should be installed globally (currently on version 1.13.1).

Does gulp help work? You can check version numbers there as well in the output.

from blender.

mauritzbotha avatar mauritzbotha commented on July 21, 2024

Thanks Willem.
I did not use Homestead, just installed the system on a Amazon EC-2 instance.

npm -v
3.10.3
I installed webpack, then tried gulp help:

[ html]$ gulp help

/var/www/html/node_modules/blender-gulp/gulpfile.js:16
gulp.task('default', callback => {
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/var/www/html/gulpfile.js:1:63)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

from blender.

mauritzbotha avatar mauritzbotha commented on July 21, 2024

Trying to invoke webpack:

[html]$ webpack

/var/www/html/node_modules/blender-gulp/config/webpack.js:8
const context = (context) => process.env.WEBPACK_CONTEXT === context;
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/var/www/html/webpack.config.js:3:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

from blender.

willemvb avatar willemvb commented on July 21, 2024

Can you check your node version as well with node -v?
It should be 4.4 or higher (I will add this requirement to the readme).

from blender.

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.