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

decoratorSyntax is not a function #42

Open
mansona opened this issue Nov 5, 2024 · 0 comments
Open

decoratorSyntax is not a function #42

mansona opened this issue Nov 5, 2024 · 0 comments

Comments

@mansona
Copy link
Contributor

mansona commented Nov 5, 2024

When generating a brand new ember addon using

pnpm dlx ember-cli@latest addon my-addon -b @embroider/addon-blueprint --pnpm

I get the following error during the first rollup build

. prepare$ pnpm build
. prepare: > @ build /Users/mansona/temp/my-addon
. prepare: > pnpm --filter my-addon build
. prepare: > [email protected] build /Users/mansona/temp/my-addon/my-addon
. prepare: > rollup --config
. prepare:
. prepare:  → dist...
. prepare: [!] (plugin babel) TypeError: [BABEL] /Users/mansona/temp/my-addon/my-addon/src/index.js: decoratorSyntax is not a function (While processing: "/Users/mansona/temp/my-addon/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/decorator-transforms/dist/index.js$inherits")

This seems like it's related to #37

I've confirmed that if I pin to the previous patch version 2.2.2 it works fine 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant