Hey folks, I’m having trouble updating the Node.js version for my Zapier app. Can anyone help?
I’m trying to run my Zapier app on Node.js 6.10.2 or later, but I’m stuck. I’ve already tried a few things:
- Updated
package.json:
"engines": {
"node": "6.10.2",
"npm": ">=2.0.0"
}
- Changed
travis.yml:
node_js:
- "6.10.2"
- Checked the version with
z.console.log('node version', process.version);
But it’s still showing 4.3.2 when I run zapier logs. Any ideas on what I’m missing? I thought the CLI docs said it should be using 6.10.2 already.
Thanks for any help! I’m really scratching my head over this one.
I encountered a similar issue when upgrading my Zapier app’s Node.js version. The key is to focus on the Zapier CLI, not just your local environment. Try running ‘zapier migrate’ to update your app’s configuration on Zapier’s end. This command syncs your local changes with Zapier’s servers.
If that doesn’t work, you might need to create a new version of your app using ‘zapier push’. This ensures all your updates, including the Node.js version change, are properly reflected.
Remember, Zapier’s infrastructure might have limitations on available Node.js versions. Double-check their documentation for the latest supported versions. If you’re still stuck, reaching out to Zapier’s support team directly could provide more specific guidance for your app.
hey, have u tried clearin ur zapier cache? sometimes that helps. also, make sure ur using the latest zapier CLI version. if nothin else works, u might need to create a new app version and push that. good luck!
I’ve been through this exact headache with Zapier and Node.js versions. Here’s what finally worked for me:
First, make sure you’re using the latest Zapier CLI. Run ‘npm install -g zapier-platform-cli’ to update it.
Then, in your project directory, run ‘zapier clean’ to clear any cached data. This step is crucial and often overlooked.
After that, update your ‘zapier-platform-core’ dependency in package.json to match the Node.js version you want. For 6.10.2, you’d use something like:
“dependencies”: {
“zapier-platform-core”: “6.1.0”
}
Run ‘npm install’ to update dependencies.
Finally, push your changes with ‘zapier push’. This should force Zapier to recognize the new Node.js version.
If you’re still seeing 4.3.2 in logs, it might be leftover from an old deploy. Give it a few minutes and check again. Hope this helps!