Good morning all :slightly_smiling_face:, I'm try...
# suitecommerce
m
Good morning all 🙂, I'm trying to upgrade to the newest base theme architecture (with the fallback theme stuff). I used
gulp theme:create
and then ran it locally which downloaded the base them to the Extras directory. I then copied the files from the base theme to the new theme I created and swapped out the name for my theme. My issue is that when running
gulp theme:local
I get this error:
TypeError: Cannot read property 'type' of undefined
which is referring to the
manifest.is_fallback
field in the assets.js gulp task. I'm not sure if I should be setting is_fallback to true (that doesn't fix it it just breaks earlier), and trying to set it to false causes the same error and then after the error that line is removed from
manifest.json
entirely. There was a message in the docs about the assets folder and how if you have it on the custom theme it will ignore the base themes assets so I copied the assets folder into the custom theme.
I removed the assets from the base theme in my extensions (the one I think it falls back to??) Now I can run
gulp theme:local
, but it doesn't render anything 😕 and throw a ton of error for missing files