New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Line for foundation emails not working on Node 12 #11755
Comments
Hi @xaddict,
Warnings are ok.
|
Unfortunately I'm unable to use Node 10 as this is an active project. |
Which OS do you use? You can use nodenv and nvm to switch the version. |
Closing as this should be reported in the foundation-cli issues: Otherwise we would make it harder for maintainers and contributors to keep these projects separated. Please report it in the foundation-cli repository. https://stackoverflow.com/a/56253873/753676 I guess you use NodeJS 12.
You can try to upgrade the This is in fs.js of
From the
Also see https://travis-ci.com/DanielRuf/foundation-cli-test/builds/112738932 Compare this to the environment where we have NodeJS 10 (the team of gulp has deleted the 4.0 tag, you can change the line in package.json to reference gulp 4.0.0): |
|
All projects can not be built on NodeJS 12, see https://travis-ci.com/DanielRuf/foundation-cli-test/builds/112830315 So it's best to use NodeJS 10. |
Install nvm and user node10 lts. |
workaround: |
You can use n for node's version management. There is a simple intro for n. $ sudo npm cache clean -f Then you can show your node version: $ node -v From here Have to use npx -p node@10 foundation new --framework emails |
What should happen?
The CLI should ask me for a project name and create the foundation emails project for me
What happens instead?
I get the following error message:
Also, when I was installing the foundation CLI I got the following warnings:
Possible Solution
It probably has to do with the newer NodeJS version and the fact the tool is using Bower.
The warnings also show that graceful-fs 3.0.11 is not recommended for newer NodeJS versions. The same point applies to natives@1.1.6 as that has been deprecated.
How to reproduce:
sudo npm install --global foundation-cli
in the terminalcd
to a projects folderfoundation new --framework emails
to get the errorContext
I want to use the sass version of Foundation Emails and would like to use Inky as a templating language. I can use Inky standalone, but having the project CLI would make it easier to use.
Your Environment
Checklist
The text was updated successfully, but these errors were encountered: