You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm new to Slater, and I noticed that I stumbled for a while trying to understand why my uses of npm run deploy:development and slater watch ere failing given my credentials with the error:
slater v1.8.0
watch development theme
built in 2.734s
> index.css
> index.js
(node:15238) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'asset' of undefined
at theme.sync.then.then.catch (/usr/local/lib/node_modules/slater/index.js:156:57)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:15238) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:15238) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:15238) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'asset' of undefined
at theme.sync.then.then.catch (/usr/local/lib/node_modules/slater/index.js:156:57)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:15238) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
I eventually noticed that the issue was that I listed my Shopify URL in slater.config.js as https://dial-up-digital-development.myshopify.com instead of dial-up-digital-development.myshopify.com.
I think it would be ideal from a developer experience for syncing to not fail if the protocol is added in the URL. It also seems that Theme Kit handles protocols in Shopify URLs.
The text was updated successfully, but these errors were encountered:
Hi! I'm new to Slater, and I noticed that I stumbled for a while trying to understand why my uses of
npm run deploy:development
andslater watch
ere failing given my credentials with the error:I eventually noticed that the issue was that I listed my Shopify URL in slater.config.js as
https://dial-up-digital-development.myshopify.com
instead ofdial-up-digital-development.myshopify.com
.I think it would be ideal from a developer experience for syncing to not fail if the protocol is added in the URL. It also seems that Theme Kit handles protocols in Shopify URLs.
The text was updated successfully, but these errors were encountered: