-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
Fresh install errors - possibly due to core-js@2.6.11 #958
Comments
What’s your |
12.15.0 |
I upgraded to 12.16.1 (the current LTS: https://nodejs.org/en/) and still get the same error. |
Not reproduced on latest macOS with current LTS node:
|
Still having the errors today, so went and tried on Ubuntu via WSL. Node 12.6.1, latest 11ty, and it installed and ran, albeit with quite a few warnings. No errors though. It looks like somehow Windows/Node on Windows is being more sensitive about the outdated corejs? |
Tried it on Windows with Git Bash today (in case it was Powershell being a pain) and still had the errors. |
I wonder if this is related to zloirock/core-js#582 |
@pdehaan that looks like a Powershell issue? Would it explain seeing it in git bash as well? And I have had successful 11ty installs in the past couple of months, Edit to add: had time to investigate more today. Went and checked in case I had set my npm script-shell to be Powershell, and:
Not terribly informative, but decided to try unsetting it.
And voila - 11ty installed again (various warnings, no errors) So yup, looks like it was something to do with that issue you linked, thank you! |
@StarfallProjects okay to close as issue in dependency? |
@zachleat yes - thanks for the community help on this! I guess I am once again the PowerShell-shaped canary in the coalmine 🤦♀ |
Thank you! |
Describe the bug
Trying to do a fresh local install of 11ty for a new project, getting errors on install. Installation does not complete (11ty doesn't end up listed in the
package.json
, and doesn't run)To Reproduce
npm install --save-dev @11ty/eleventy
npx @11ty/eleventy
(just in case it's an ignorable error)Environment:
Other
Note that the installation also warns that core-js@2.6.11 is no longer maintained and should be upgraded to 3.x
The text was updated successfully, but these errors were encountered: