N
Nuxt4mo ago
! ULPMER

ERROR Could not load virtual:#internal/nitro/virtual/public-assets-data [..] URI malformed

Here is the full message: ERROR Could not load virtual:#internal/nitro/virtual/public-assets-data (imported by virtual:#internal/nitro/virtual/public-assets): URI malformed
at decodeURIComponent (<anonymous>) at #internal/nitro/virtual/public-assets-data (/C:/nuxt_project/node_modules/nitropack/dist/nitro.mjs:1086:33) at async Object.load (C:/nuxt_project/node_modules/nitropack/dist/nitro.mjs:314:13) at async PluginDriver.hookFirstAndGetPlugin (/C:/nuxt_project/node_modules/rollup/dist/es/shared/node-entry.js:19792:28) at async /C:/nuxt_project/node_modules/rollup/dist/es/shared/node-entry.js:18956:33 at async Queue.work (/C:/nuxt_project/node_modules/rollup/dist/es/shared/node-entry.js:20002:32) I'm using Nuxt 12.4 with Nitro 2.9.7 If you need more information I'll provide it. Thanks for your help. Here is my nuxt.config.ts:
1 Reply
! ULPMER
! ULPMEROP4mo ago
So I think I found out what the problem really is. In the publicAssets() function i added a console.log(id); and found out that after one asset, which is being loaded I get some Deprecation Warnings: (node:11232) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at C:\Users\matth\WYI_FINAL_2\wyi\node_modules@unocss\preset-wind\package.json imported from C:\Users\matth\WYI_FINAL_2\wyi\node_modules\nitropack\node_modules_index.js. (There are many more, always caused by this @unocss\preset-wind\ package) And my guess would be that this leads to a timing problem and then the ERROR Could not load virtual:#internal/nitro/virtual/public-assets-data [..] URI malformed However with the console.log it lokks like its working...
Want results from more Discord servers?
Add your server