Skip to content

vinyl-fs complains about non-Vinyl object but doesn't clearly provide the source #2453

Answered by yocontra
philipwhiuk asked this question in Help
Discussion options

You must be logged in to vote

Node doesn't have very good stacktraces in general, and they are especially bad with streams. You aren't going to see the name of the plugin in the stacktrace so you will need to debug it by isolating which task is causing the issue, then isolate which plugin is causing it. You can also add a debug statement to vinyl-fs/lib/dest/prepare.js:16 and log the object for more information.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by philipwhiuk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants