Skip to content
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

Recipes fail #1226

Open
stewest opened this issue Oct 28, 2022 · 0 comments
Open

Recipes fail #1226

stewest opened this issue Oct 28, 2022 · 0 comments
Labels
blocked bug Something isn't working

Comments

@stewest
Copy link
Contributor

stewest commented Oct 28, 2022

When I run $amazee-recipes

`
../.config/yarn/global/node_modules/@amazeelabs/recipes/dist/index.js:9
const update_notifier_1 = __importDefault(require("update-notifier"));
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/stewwest/.config/yarn/global/node_modules/@amazeelabs/recipes/node_modules/update-notifier/index.js from /Users/stewwest/.config/yarn/global/node_modules/@amazeelabs/recipes/dist/index.js not supported.

Instead change the require of /Users/stewwest/.config/yarn/global/node_modules/@amazeelabs/recipes/node_modules/update-notifier/index.js in /Users/stewwest/.config/yarn/global/node_modules/@amazeelabs/recipes/dist/index.js to a dynamic import() which is available in all CommonJS modules.

at Object.<anonymous> (/Users/stewwest/.config/yarn/global/node_modules/@amazeelabs/recipes/dist/index.js:9:43) {

code: 'ERR_REQUIRE_ESM'
}
`

@stewest stewest added blocked bug Something isn't working labels Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant