Open patrickbjohnson opened 6 years ago
@t-kelly not sure if the tags were automated but have y'all not see this issue before? Was looking here and ThemeKit's repo to try and find a resolution to the issue. Handful of paying clients awaiting those changes to go live :(
Any particular reason you absolutely need the latest node? If it's urgent I would suggest downgrading Node
I believe I had to update for a separate project. Which in hindsight is exactly what something like NVM is for.
How we Iām not entirely sure which version of node would resolve this issue.
--Sent from Jean-Ralphio the iPhone
On Nov 1, 2018, at 4:07 PM, Hugues Tennier notifications@github.com wrote:
Any particular reason you absolutely need the latest node? If it's urgent I would suggest downgrading Node
ā You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Should work no problem with Node v8.11.1
@huguestennier Adding nvm
and rolling back to v8.11.1
has resolved my issue but still persists with latest version of node.
Thank you for your help!
This is a bug in the natives
dependency and needs to be updated to at least 1.1.1
I believe.
This bug comes from "unzip2": "0.2.5",
which as @IngoVals correctly states above uses a now outdated version of natives
.
How I fixed this issue:
at req_ (/usr/local/lib/node_modules/@shopify/slate/node_modules/natives/index.js:137:5)
cd
using that path to the slate
directory. In this case:
cd /usr/local/lib/node_modules/@shopify/slate
natives
. I went ahead and uninstalled too:
npm uninstall natives
npm install natives
That gave me the latest natives
version and now slate works
For me the fix was downgrading Node to 8.11.1 using nvm. I messed around with natives but that didn't work for me.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
nvm install 8.11.1
nvm use 8.11.1
Using nvm to switch to 8.11.1 for Slate v0 development also worked for me. š Thanks all.
Problem
Pulled down existing site from Shopify. Migrated theme to Slate build.
Was using
slate watch
to run dev instance of theme.Updated node to latest
v11.0.0
and nowslate
commands fail.I've tried re-installed. I've tried using
yarn
ornpm
commands to install modules again but nothing seems to work.Currently running
0.13.0
ofslate-tools
Additionally, I have a Slate v0 theme (non-migrated) which suffers from the same issue.