N
Nuxt8mo ago
Rowin

nuxt generate resolve warning

I am getting this warning when I run nuxt generate:
[8:14:40 PM] WARN "file:///C:/Users/<removed>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
[8:14:40 PM] WARN "file:///C:/Users/<removed>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
What's causing this?
7 Replies
Rowin
RowinOP8mo ago
Already tried removing node_modules and .nuxt, didn't work, unfortunately Possibly relevant: it happens after Initializing prerenderer Happens without the server folder too Downgrading from 3.11.1 to 3.10.3 made it disappear I'll try to narrow it down even more... 3.11.0 (came after 3.10.3) made it appear again It happens on Debian server too:
[7:45:44 PM] WARN "file:///root/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
[7:45:44 PM] WARN "file:///root/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
Rowin
RowinOP8mo ago
This commit maybe? Seems very likely @danielroe what do you think? I'll try npm Still happens
[9:05:13 PM] WARN "file:///C:/Users/<removed>/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
[9:05:13 PM] WARN "file:///C:/Users/<removed>/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
danielroe
danielroe8mo ago
You can ignore it for now; it’s harmless. We will fix in next release though
Rowin
RowinOP8mo ago
Thanks!
Floo.
Floo.4mo ago
is this the same case? :"[nitro 13:29:55] ERROR Error: Could not load C:\Users\user\Documents\eBookConverter\node_modules\primevue\base\style\index.mjs (imported by virtual:#primevue-style): ENOENT: no such file or directory, open 'C:\Users\user\Documents\eBookConverter\node_modules\primevue\base\style\index.mjs'"
danielroe
danielroe4mo ago
No, I would report that as a bug. Seems it might be a primevue issue though
Want results from more Discord servers?
Add your server