Closed bm1-phillip closed 1 year ago
Tried with Node versions between 10 and 21.
npm install and yarn install bring the same error message.
npm install
yarn install
$ npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'xmlbuilder@2.2.1', npm WARN EBADENGINE required: { node: '0.8.x || 0.10.x' }, npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '9.9.0' } npm WARN EBADENGINE } [...] npm ERR! code 1 npm ERR! path /Users/phillip/Sites/Test/foundation-emails/node_modules/node-sass npm ERR! command failed npm ERR! command sh -c node scripts/build.js npm ERR! Building: /Users/phillip/.nvm/versions/node/v16.20.2/bin/node /Users/phillip/Sites/Test/foundation-emails/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= [...] npm ERR! gyp ERR! command "/Users/phillip/.nvm/versions/node/v16.20.2/bin/node" "/Users/phillip/Sites/Test/foundation-emails/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" npm ERR! gyp ERR! cwd /Users/phillip/Sites/Test/foundation-emails/node_modules/node-sass npm ERR! gyp ERR! node -v v16.20.2 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok npm ERR! Build failed with error code: 1
I fixed the problem with updated packages and gulpfile for compatibility with Apple M processors.
bm1-phillip/foundation-emails-template
Tried with Node versions between 10 and 21.
npm install
andyarn install
bring the same error message.