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

Unable to install the package on Mac M1 pro #1146

Open abhilashlr7 opened 1 year ago

abhilashlr7 commented 1 year ago

Node version: tried 14, 16 and 19

After node installation, the first error was python not found. then I had set the config for the same using:

npm config set python python3

Tried npm install and yarn install. Neither works. Says the following error:

File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

So basically, setup, which is the first step, doesn't go well.

viking1304 commented 1 year ago

You can use my fork until they merge my pull request.

More details here: https://github.com/foundation/foundation-emails/discussions/1141

kvieira90 commented 1 year ago

+1 running into the same issue

bm1-phillip commented 10 months ago

I fixed the problem by updating packages and modifying the gulpfile, as the initial setup did not work on my system with Apple M processors.

bm1-phillip/foundation-emails-template