alexeliot
alexeliot
NNuxt
Created by alexeliot on 2/24/2025 in #❓・help
How can I create a redirect while preserving some of the path params of the route?
For example, redirect from "/en/user/<id>" to "/en/user/<username>" the "en" is a path param.
8 replies
NNuxt
Created by alexeliot on 12/30/2024 in #❓・help
Cannot find module './lib/source-map-generator'
Hi, I have recently done some migrations to our codebase, and after that, the dev server stopped working (building and previewing works). The error I get is:
[nuxt] [request error] [unhandled] [500] Cannot find module './lib/source-map-generator'
Require stack:
- <project_root>/source-map-js
[nuxt] [request error] [unhandled] [500] Cannot find module './lib/source-map-generator'
Require stack:
- <project_root>/source-map-js
How can I debug an error like this?
7 replies