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
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
#!/bin/sh
# please specify required Node.js version
NODE_VERSION=8.10.0
# workaround to override the v8 alias
npm config delete prefix
. ~/.bashrc
nvm install "$NODE_VERSION"
nvm alias node8 "$NODE_VERSION"
and still having same incompatible node version error.
Obviously 2nd script won't work since current agent using node v6.x
UPDATE:
First script worked after I initiated build by click on SAVE AND BUILD button at build settings. appcenter-post-clone.shWON'T WORK automatically on push. You have to initiate build manually after adding this script
The engine "node" is incompatible with this module. Expected version ">=8.12.0". Got "6.17.0"
error Found incompatible module
btw. I've tried adding appcenter-post-clone.sh scripts with next contents:
and
and still having same incompatible node version error.
Obviously 2nd script won't work since current agent using node v6.x
UPDATE:
First script worked after I initiated build by click on
SAVE AND BUILDbutton at build settings.appcenter-post-clone.shWON'T WORK automatically on push. You have to initiate build manually after adding this script