-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Bug: Module not found: Error: Package path . is not exported from package #226
Comments
Figured out that |
Maybe same issue as #225 ? |
@mizmaar3 @V35CH can you try out https://www.npmjs.com/package/@gtm-support/vue-gtm/v/2.0.0-beta.1 and report any issues or if it just works? |
@Shinigami92 just tested, doesn't work. |
@Shinigami92 doesn't work here either.
Output:
|
Can someone of you create a simple minimal reproduction GitHub repo? I currently have two assumptions:
|
Okay, now please try out https://www.npmjs.com/package/@gtm-support/vue-gtm/v/2.0.0-beta.2 |
nope, unfortunately not |
is there another error? everything can be helpful |
Here is the full error i get: webpack compiled with 1 error and 1 warning |
Yeah, that really sounds like a vue-router error I assume it has something todo with this section: https://github.com/vuejs/router/blob/2df87efda150027b5e455958f284db8f755caa1a/packages/router/package.json#L9-L29 |
Or maybe the way import vue-router. Seems like firebase had same issue: firebase/firebase-admin-node#1730 |
Here the same:
|
I have created a test repro with the same issue: |
Now we have a clearer error! node_modules/vite/dist/node/chunks/dep-80fe9c6b.js:40945:10:
ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "vue-router".
The package may have incorrect main/module/exports specified in its package.json:
No known conditions for "." entry in "vue-router" package Please open an issue in vue-router for that |
I messaged posva here: vuejs/router#1463 (comment) |
Please look out for the new v4.1.2 |
it seems to work 👍 |
Will close this for now as resolved |
Info
Input
Output or Error
Additional Context
Moved frm vue2 to vue3. tried "@gtm-support/vue-gtm": "^1.6.0", but get this error
The text was updated successfully, but these errors were encountered: