foundation / foundation-emails

Quickly create responsive HTML emails that work on any device and client. Even Outlook.
https://get.foundation/emails/docs/
MIT License
7.77k stars 1.09k forks source link

Install failed with npm (Unsupported engine) #1120

Open mpragliola opened 2 years ago

mpragliola commented 2 years ago

How can we reproduce this bug?

sudo npm i -g foundation-emails
foundation new <project>
cd <project>
npm i

OS: Ubuntu 20.04 npm -v # 8.11.0 node -v # v16.16.0 foundation email template version is 2.4.0. (taken from package.json)

What did you expect to happen?

A working npm install.

What happened instead?

name@host:~/dev/test$ npm i
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.16.0', npm: '8.11.0' }
npm WARN EBADENGINE }
tnog commented 2 years ago

Looks like your node version is not supported. Foundation for Emails only supports up to version 10. See: #1066, #1113