Closed ol-web closed 5 months ago
Hi @ol-web. Thank you for your issue. I will take a look into it and give you an update when I have something :-)
@ol-web The alpha release I just did seemed to fix it, but the new "stable" release triggered the error again. Re-opening...
@ol-web sorry for the spam, upgrading to version 3.2.0 (latest) should resolve the issue.
Thanks for the plugin. However, when i try to use it after building and starting a server I get these errors. There's a lot of those for seemingly every autoimported component:
"@ambitiondev/vue-cookiebot" is imported by ".nuxt/dist/server/_nuxt/_slug_-BdsR6rxI.js", but could not be resolved – treating it as an external dependency.
And the one that breaks the page:
`
Listening on http://[::]:80 [nuxt] [request error] [unhandled] [500] Cannot find package 'C:\\node_modules\@ambitiondev\vue-cookiebot\' imported from C:\.output\server\chunks\build\server.mjs
at new NodeError (node:internal/errors:393:5)
at legacyMainResolve (node:internal/modules/esm/resolve:235:9)
at packageResolve (node:internal/modules/esm/resolve:847:14)
at moduleResolve (node:internal/modules/esm/resolve:909:20)
at defaultResolve (node:internal/modules/esm/resolve:1124:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36)
`
Is there anything that can be done?