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
Problems running gulp. #878
Comments
If I attempt to run internal/util/inspect.js:31 ReferenceError: internalBinding is not defined |
Having tried a few more things I've been able to get the child theme working and editable, I still haven't had any luck with the parent theme but I thought I would have been able to edit it all the same. |
Hi @DouglasEvans Thanks for your bug report.
I am going to copy paste this reply from another thread I read:
@holger1411 FYI! |
HI @0dp thanks for getting back to me, I've been able to upgrade my local gulp to version 4.0.0 while CLI version is still 2.0.1 I attempted to run
assert.js:350 AssertionError [ERR_ASSERTION]: Task function must be specified |
That is correct, the tasks needs to be rewritten to comply with gulp4. Please checkout the gulpfile and corresponding package.json file in the understrap gulp4 branch. |
@DouglasEvans take a look at this PR |
I've solved the issue by installing specific versions for node, npm and gulp, they are:
It runs perfectly now. I hope it helps. |
Yes, you can downgrade gulp but we might see issues with that in the future |
Whoa. I'm having the exact same problem, but I'm on Gulp 3.9.1 like @ernestorivero ... However, my Node version is 11.9.0 and npm is 6.5.0 ... strange. I'll check out that PR mentioned above. |
Maybe you could post the output of |
Sure, my apologies.
I looked at the PR but can't really tell if it's going to make things better or worse for me! 🤷🏻♂️ |
Before I give you dubious advice. Do you mind showing me the errors of, |
Good morning, everyone, gulp -v node -v npm -v If a solution exists, would you have a link to propose to me? I thank you in advance for your help Dan |
Had same issue, try to this solution npm install natives@1.1.6 |
Just as feedback: had the same problem with: valeriykaminskyy's solution worked, thanks |
Hi, Regards |
@danieldevos I wonder how a webserver could affect the gulp build-process. They´re two totally different applications that should not interfer each other. Besides I got my local setup also running under Local by Flywheel and never experienced any problem. Just as a notice.. |
You're right and I can't explain it either but that's what I could see and the return error is on the version of nodejs I use V10 |
For me |
Thank you MaikelGG |
|
Edit: Originally this was titled "Can't run NPM Install" but it appears my problems are more specific to gulp instead.
Hello, I have downloaded a fresh copy of Understrap and when I attempt to run
npm install
I get the below error message.Issue is about..
Please tell us about your environment:
`> node-sass@4.9.4 install C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\node-sass
Cached binary found at C:\Users\USER\AppData\Roaming\npm-cache\node-sass\4.9.4\win32-x64-64_binding.node
Binary found at C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
 gifsicle pre-build test passed successfully
 jpegtran pre-build test passed successfully
 optipng pre-build test passed successfully
internal/util/inspect.js:31
const types = internalBinding('types');
^
ReferenceError: internalBinding is not defined
at internal/util/inspect.js:31:15
at req_ (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\natives\index.js:137:5)
at require (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\natives\index.js:110:12)
at util.js:25:21
at req_ (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\natives\index.js:137:5)
at require (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\natives\index.js:110:12)
at fs.js:42:21
at req_ (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\natives\index.js:137:5)
at Object.req [as require] (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\natives\index.js:54:10)
at Object. (C:\xampp\htdocs\WEBSITE\wp-content\themes\understrap\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:99)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! understrap@0.8.8 postinstall:
gulp copy-assets
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the understrap@0.8.8 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! C:\Users\USER\AppData\Roaming\npm-cache_logs\2018-12-24T23_22_31_485Z-debug.log`
Thank you.
The text was updated successfully, but these errors were encountered: