-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
LRUCache dependency conflict for named exports #1970
Comments
npm why lru-cache [email protected] [email protected] [email protected] dev [email protected] dev |
How to solve this problem? |
problem
in nuxt dev mode,it's all right. but built project done and execute node ./server/index.mjs find error.
Environment
Node.js v18.6.0
Nuxt v3.4.2
Nitro v2.3.3
report
file:///D:/node/nuxt_app/.output/server/chunks/node-server.mjs:7557
const parserCache$2 = new LRU({
^
TypeError: LRU is not a constructor
at file:///D:/node/nuxt_app/.output/server/chunks/node-server.mjs:7557:23
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:541:24)
at async loadESM (node:internal/process/esm_loader:83:5)
at async handleMainPromise (node:internal/modules/run_main:65:12)
The text was updated successfully, but these errors were encountered: