-
Notifications
You must be signed in to change notification settings - Fork 505
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
project fails to import uuid package #87
Labels
Comments
pi0
added
bug
Something isn't working
dependency-issue
and removed
bug
Something isn't working
labels
Apr 12, 2022
Happens for |
I debugged a bit and saw that at nitro/src/rollup/plugins/externals.ts Line 147 in feebf8f
.js and .json files are returned.https://github.com/vercel/nft however seems like it works with .mjs files and like it can detect an exports.import statement, as the one by ws , too...
I'm not that used to low level packages like these, so that's where my understanding left for now. |
Closed
9 tasks
1 task
latest version of nitro seems inlining |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Operating System: Linux
Node Version: v17.1.0
Nuxt Version: 3.0.0-27319101.3e82f0f
Package Manager: npm@8.1.2
Bundler: Vite
User Config: -
Runtime Modules: -
Build Modules: -
Reproduction
server/api/test.ts
Describe the bug
Building the project causes the package
uuid
to fail to be imported. The problem does not exist when running the dev server.Additional context
Moved from nuxt/nuxt#13040
Logs
No response
The text was updated successfully, but these errors were encountered: