-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Problems with imports: ERR_MODULE_NOT_FOUND #344
Comments
I reproduce exactly the same, my workaround is to fix the ufo version of all dependencies directly at the end of my With yarn
Do not forget to Hope this helps until a solution ! |
The npm equivalent doesn't seem to work though, I replaced |
Is this still an issue for you? I cannot reproduce it. |
It indeed looks very much fixed to me (and my projects)! <3 |
After refreshing my lock file to upgrade all dependencies, I can confirm that the issue is gone. |
@danielroe Instead of the ufo related import error, I now get similar errors such as
After a few seconds, the app crashes with a JavaScript heap out of memory error. |
See nuxt/nuxt#13404. |
Environment
Nuxt CLI v3.0.0-rc.3-27536597.3359b3b
RootDir: /sandbox
Nuxt project info:
Linux
v14.18.1
2.16.0-27358576.777a4b7f
yarn@1.22.17
webpack
bridge
,buildModules
-
@nuxt/bridge@3.0.0-27530716.c4f8671
Reproduction
https://codesandbox.io/s/async-platform-s1qn8l
Open a new terminal and run
yarn build
, followed byyarn start
.Describe the bug
The app works fine in development, but is not working after building.
yarn build
, followed byyarn start
does not work.Additional context
I noticed that the
ufo
package is missing apackage.json
, which might be the reason for the issue.In my private app, I replaced all import of
ufo
withufo/dist/index.mjs
, which fixed the error forufo
, but reveiled additional import related errors.Logs
The text was updated successfully, but these errors were encountered: