🐛 BUG: `create-snowpack-app` doesn't work.
gargantuan opened this issue · comments
Quick checklist
- I am using the latest version of Snowpack and all plugins.
What package manager are you using?
npm
What operating system are you using?
macOS
Describe the bug
Steps to reproduce
Initialised the project with
npx create-snowpack-app myproject --template @snowpack/app-template-react-typescript
the following commands throw Error: Not supported at NATIVE_IMPORT...
npm run start
npm run build
npm run test
What version of node
are you running? I ran into what I think is the same error when running on node v12.13.0
. Switching to the latest lts v14.17.4
made the error disappear.
I encountered a similar issue. Switching from Node v12 -> v14 resolved it.
Can confirm that more recent versions of Node do not have this error. You may try updating to the latest version of Node 12, but 14+ is recommended to use now (and stable).
Though this is a bug with older versions of Node, unfortunately I’ll have to close this issue as we can’t support those at this time.
@drwpow Thanks for the update. Is there a way that we can reflect the minimum required version of Node that is supported?
I saw this in the package.json of the snowpack sub-folder:
"engines": {
"node": ">=10.19.0"
},
so I was expecting older versions of Node to be supported, based on those details.
Thanks!