You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running npx ember-addon-migrator an error is thrown when the library is looking for the package manager.
~/editor-domain-model> npx editor-domain-model
✖ Analyzing the addon
→ Cannot read properties of undefined (reading 'endsWith')
Running Migrator
Running package manager
Running lint:fix
Error occurred
You may want to reset your repository and try again.
Errors encountered during migration are likely unrecoverable by this tool.
the addon-migrator can do this for you via
migrate-addon reset
aliased as both:
ea2 reset
ember-addon-migrator reset
-----------------------------------
Cannot read properties of undefined (reading 'endsWith')
TypeError: Cannot read properties of undefined (reading 'endsWith')
at Module.getPackageManager
I can run the check locally from within node and it's successful.
~/editor-domain-model> node
Welcome to Node.js v20.14.0.
Type ".help" for more information.
> const { project } = await import("ember-apply");
undefined
> p1 = await project.getPackageManager();
'yarn'
The text was updated successfully, but these errors were encountered:
When running
npx ember-addon-migrator
an error is thrown when the library is looking for the package manager.I can run the check locally from within
node
and it's successful.The text was updated successfully, but these errors were encountered: