-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
build-assets fails with npm error: TypeError: Invalid non-string/buffer chunk #859
Comments
What's your ( Ping @Silic0nS0ldier ) |
Its possible that this is caused by permission issues, so that's something worth exploring. Good luck with it. Problems like this are exactly what I'm been trying to address in milestone 4.2, so fingers crossed I'll these will at the very least be a little less obscure in the future. |
It's not the permissions, on the host the files are all owned by |
I successfully replicated last night on a fresh install of the master branch and Homestead. It only happen when building the assets for production. All goes down to that |
Oh joy. This is going to be hell to figure out. This is something unrelated to |
Thanks for looking into this! <3 |
So far I found out it appeared after something changed in one of the duplexify
flagged-respawn
gulp-clean-css
gulp-uf-bundle-assets
liftoff
process-nextick-args
ternary-stream
through2 I also can confirm it all goes down to this line (and the same line in the css bundle): https://github.com/Silic0nS0ldier/gulp-uf-bundle-assets/blob/master/lib/stream-files.js#L62 |
Had a crack at getting Vagrant running, it scream the whole time. In short, I won't be able to debug this myself, not with how busy I am atm. |
Worth nothing that this appears to impact Vagrant (according to @lcharette) and Docker. If this is caused by a |
Thanks for checking! For those also affected: edit |
Hmm. Wonder what specifically caused it. In any case, I'll see to getting the affected versions tagged, and a warning attached. Should stop npm from pulling impacted versions, and inform people of the potential issue when it does get pulled. Moving issue userfrosting/gulp-uf-bundle-assets#5 |
I'll leave it open here until it's fixed. People getting this error in UF will end up here. |
…ndle-assets#5 is resolved (see #859)
A patch for the problem has been made for There hasn't been any activity here for over 6 months, and fixes are deployed (and in use) so closing. |
Hi, i finally wanted to do my first live deployment, but unfortunately i'm not able to successfully compile the assets. My CI jobs always fail with either of these errors:
or
I'm tryin both manually and in a Docker image (see below), and it's always one of these two - no pattern to when which one happens.
The Dockerfile i'm using:
The gulp debug log isn't that helpful either:
The text was updated successfully, but these errors were encountered: