Closed lmartins closed 6 years ago
I've encountered this issue too, but I'm on "@shopify/slate-tools": ">=1.0.0-alpha.29"
I fixed this by upgrading @shopify/slate-tools
to 1.0.0-beta.1
.
@lmartins @ErikFontanel -- looks like the semver range I've been using in shopify/starter-theme were not as refined as I thought they were 😅. The error you are getting is because NPM installed @shopify/slate-tools@1.0.0-beta.1
on your machine and is not looking for a src/assets/static
folder instead of a src/assets/vendors
folder (See breaking changes in the beta.1 release).
Two fixes you could choose:
a. Upgrade to slate-tools@1.0.0-beta.1
and fix the breaking changes mentioned in the release
b. In your package JSON, specify the precise version, in your case "@shopify/slate-tools": "1.0.0-alpha.28"
@t-kelly Thomas, sorry I've missed these notifications. I will give a try. Thanks so much for the update and suggested fixes!
@t-kelly thanks, I resolved it last week by switching to the beta and starting a new project. It then occurred to me that I was experiencing the issue with the shopify/skeleton-theme and not with the starter-theme. I haven't retested it with skeleton though.
@t-kelly should I close this one? It has been working just fine since I've followed your instructions. Thanks!
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
I've been experimenting with Slate in the hopes of being able to use it for our theme builds. This morning I've updated the NPM dependencies, which included an update to
@shopify/slate-tools
.After that, I've stopped being able to run the
start
script, always getting the following error message:package.json contents