Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gulp build does not work on Ubuntu 18.04 #62

Open
legluondunet opened this issue Feb 10, 2019 · 3 comments
Open

gulp build does not work on Ubuntu 18.04 #62

legluondunet opened this issue Feb 10, 2019 · 3 comments

Comments

@legluondunet
Copy link

Hello,
when I launch gulp build, I obtain this error:

$ gulp build
[07:00:14] Using gulpfile ~/desktop/gulpfile.js
/usr/lib/nodejs/gulp/bin/gulp.js:132
gulpInst.start.apply(gulpInst, toRun);
^

TypeError: Cannot read property 'apply' of undefined
at /usr/lib/nodejs/gulp/bin/gulp.js:132:20
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

Thank you for your help.

@captainyarr
Copy link
Owner

Try this next time:

Use npx to launch gulp. NPX will launch the gulp version specifically

npx gulp build
npx gulp run
...

I've switched to gulp 4.0 so check the globally installed version if gulp 4.0

@legluondunet
Copy link
Author

legluondunet commented Feb 11, 2019

On ubuntu 18.04 it's the 3.9.1.6 version, I understood I can no more use gulp to build your PopcornTime version until Ubuntu update the version.

@legluondunet
Copy link
Author

I can still start PT with this command:
npm install
npm start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants