Closed thomasverleye closed 4 years ago
I'm having the exact same issue.
Node.js 8 is no longer supported. shopify-api-node@3
requires Node.js >= 10.
Alright cool, I will check this and confirm later on.
Maybe it would be a good idea if we mention this in the readme.md
? 🙇
You should get a warning when installing on an unsupported Node.js version as per https://github.com/MONEI/Shopify-api-node/blob/3.0.0/package.json#L10
I'm on Node v12.14.0 and having the same issue (with the same code).
@jacinfleta I've tested the example in the issue description and it works fine on Node.js 10.18.1 and 13.6.0. Will check v12 later.
@lpinca thank you so much. I'll continue investigating. I'm very newbie so I bet the problem is my own.
I've updated node to v13.7.0
and it works flawless.
@jacinfleta I'd suggest you update your node as well, if you need v12
for other projects i'd suggest you use some version controller like nvm
to switch between node versions.
Thanks again @lpinca I'm closing this issue now.
Just ran into this issue myself - I was trying to deploy to Google Cloud Functions / Firebase.
Please can you add that node 10 is required in the readme?
When i'm trying a simple example I'm getting the following error log:
Here's the source-code I've been trying to use:
My Setup: Node Version:
v8.13.0
NPM Version:6.4.1