-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Import Error in github action #52
Comments
@proggreg can you share a small reproduction? thanks |
I met the same issue. The most weird thing is that when I try to build on my mac laptop(in the project folder), it works well, but when I try to build the project on the machine of github actions, it reports error.
|
Additional information:
|
I've found the reason and made a minimal reproduction , see #54 😄 |
I was wondering to ask you if this issue has been resolved? If it is not resolved, please check whether you've specified the // nuxt.config.ts
export default defineNuxtConfig({
// ...
mongoose: {
uri: 'your mongodb connection string here',
options: {},
modelsDir: 'models',
},
}) I've made a reproduction 👉 nuxt-mongoose PR issue#52 reproduction [worker init] (forked) - StackBlitz. In this reproduction, run It's nearly the same problem as #54. cc @arashsheyda |
I'll make a release later today and then we can make sure. thanks again |
Not sure if this is an issue with the module but I'm having an issue when running nuxt in dev. I get this error [worker reload] [worker init] Package import specifier "#nuxt/mongoose".
Don't suppose you know what the issue might be?
The text was updated successfully, but these errors were encountered: