Closed alex-espinoza closed 4 years ago
@lex-espinoza one of your config/*.json files likely has invalid JSON in it.
If that doesn't help, you can debug by adding console.log('asset', asset.toString());
to /node_modules/@shopify/slate-tag-webpack-plugin/index.js:11
and print out the json before the process crashes
Thanks @builtbylane - fixing that invalid JSON solved the issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Problem
Haven't had an issue with the
slate migrate
command until today. Usingslate 0.14
.Full error output:
Replication steps
Use downloaded theme files extracted from the zip generated from the Shopify 'Download theme file' button. Run the
slate migrate
inside the directory.More Information
Using:
npm 6.9.0
node v10.16.3
Tried un-installing and re-installing node, npm, and slate. Hasn't fixed the issue.
slate watch
seems to be working fine.