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
Hey @ggamel, thanks for the detailed report. At first glance it looks like an issue with node versioning. async/await is supported in Node v7.6(?) and later. What version of node is running where the Netlify build is failing?
Note: Test these scripts to make sure they fit with your gen dir setup.
Set on Netlify
Connect your fully pushed repo
Log in to Netlify
Pressing New site from Git
Locate Build & deploy under Site Settings > Deploy Settings
Set settings as below:
Save
Locate Build environment variables under Site Settings > Deploy Settings
Set settings as below:
Push & Deploy
Everything should be set. Now verify your repo is pushed to GitHub, open Netlify, watch the deploy log, and rejoice when your deploy/build is successful.
Problem
Build command successfully works under macOS, not on Netlify.
Expected behavior
gen successfully deploys using build command.
Actual Behavior
gen fails with exit code 1 when deploying using Netlify
Here's the relevant portion of the deploy log from Netlify showing an apparent issue encountered with gen@L65
Deploy log
For reference, here's my package.json:
My site structure is currently identical to the gen example dir
Again, everything works locally without error or issue. Not sure what might be the issue. Any guidance would be appreciated.
The text was updated successfully, but these errors were encountered: