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
Error [ERR_REQUIRE_ESM] with netlify link
#868
Comments
Oh oh oh @RaeesBhatti , that might be related to the great 2020
|
I tried reinstalling as suggested in #863, but it's still caught up on the bad version. |
Okay, I got it to work by running: $ brew uninstall netlify-cli
Uninstalling /usr/local/Cellar/netlify-cli/2.48.0... (16,459 files, 153.0MB)
$ brew install -s netlify-cli
… I think there should still be a new version pushed to Homebrew so that this is not necessary. |
Is this still a problem? I haven't been able to reproduce it recently. |
@kaganjd Can you please provide an update on whether this is still a problem! |
Hey @RaeesBhatti, I haven't heard anything in response from the person who wrote into Community |
- Do you want to request a feature or report a bug?
Bug
- What is the current behavior?
netlify link
with a fresh CLI install returnsError [ERR_REQUIRE_ESM]: Must use import to load ES Module: /usr/local/lib/node_modules/netlify-cli/node_modules/is-promise/index.js require() of ES modules is not supported.
- If the current behavior is a bug, please provide the steps to reproduce.
npm install netlify-cli -g
netlify link
- Local Environment Information
Related
The text was updated successfully, but these errors were encountered: