Skip to content

Fix incorrect path to package.json in CLI#112

Open
EmberNoGlow wants to merge 1 commit intoChiefOfGxBxL:masterfrom
EmberNoGlow:master
Open

Fix incorrect path to package.json in CLI#112
EmberNoGlow wants to merge 1 commit intoChiefOfGxBxL:masterfrom
EmberNoGlow:master

Conversation

@EmberNoGlow
Copy link

Fixes the MODULE_NOT_FOUND error when running the CLI: Cannot find module '../package.json'. Changed the import path in TypeScript source to ensure correct resolution after compilation.

@ChiefOfGxBxL
Copy link
Owner

Hi @EmberNoGlow, thanks for noting this error. I'm getting a different error when installing the CLI globally (which is strange, since I didn't have this issue during development). I think the entire folder structure (/dist/src/...) needs to be fixed so relative paths work correctly. I'll look into this further and release a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants