Pixel2HTML / shopify-skeleton

PSA: this repo has been moved into Pixel2HTML/Pixel2HTML -->
https://github.com/Pixel2HTML/Pixel2HTML/tree/master/packages/generator-shopify
MIT License
26 stars 5 forks source link

Error: Received a non-Vinyl object in `dest()` #7

Closed antekera closed 6 years ago

antekera commented 6 years ago

When make npm run code i get this error:

Error: Received a non-Vinyl object in dest()

shelldandy commented 6 years ago

I need more details man

antekera commented 6 years ago

This is the complete error:

[13:51:12] 'vendor:scripts' errored after 942 ms [13:51:12] Error: Received a non-Vinyl object indest() at DestroyableTransform.normalize [as _transform] (/Users/mike/Work/patagonia/shopify/node_modules/vinyl-fs/lib/dest/prepare.js:16:17) at DestroyableTransform.Transform._read (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_transform.js:182:10) at DestroyableTransform.Transform._write (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_transform.js:170:83) at doWrite (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_writable.js:406:64) at writeOrBuffer (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_writable.js:395:5) at DestroyableTransform.Writable.write (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_writable.js:322:11) at Pumpify.Duplexify._write (/Users/mike/Work/patagonia/shopify/node_modules/duplexify/index.js:212:22) at doWrite (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_writable.js:406:64) at writeOrBuffer (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_writable.js:395:5) at Pumpify.Writable.write (/Users/mike/Work/patagonia/shopify/node_modules/readable-stream/lib/_stream_writable.js:322:11)

i also get this error on npm install:

npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN prefer global node-gyp@3.6.2 should be installed with -g

shelldandy commented 6 years ago

What version of this package you are using?

Seems like an issue with a library you're importing.

Need even more details...

shelldandy commented 6 years ago

It also seems like you're using a previous version that used browserify, we're using webpack now

shelldandy commented 6 years ago

Make sure you're on v.3.0.4 please

antekera commented 6 years ago

I´m using yo @pixel2html/shop-generator but i think is not the same version as in master branch.

shelldandy commented 6 years ago

there you go. just gotta update and run again, npm and master branch are in sync