Build using baseURL stopped working on production
See original GitHub issueEnvironment
My application stopped working after upgrading to rc.8, I use a baseURL:
app: {
baseURL: '/admin'
},
Running a dev server it works, but when running npm run start
I get the following errors.
Reproduction
.
Describe the bug
Mjs files are not found
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Base URL is not working in Grails production mode
I am using grails-2.4.5 version. I have some menu link in my side menu template where I am using attribute for controller name...
Read more >tsconfig paths not working when building for production #986
When using Typescript paths in tsconfig, the project can be built with nodemon, but not with tsc (with npm run start:prod ). Expected...
Read more >Env Variables and Modes - Vite
Some built-in variables are available in all cases: import.meta.env.MODE : {string} the mode the app is running in. import.meta.env.BASE_URL : {string} the ...
Read more >Troubleshooting | Jekyll • Simple, blog-aware, static sites
If you ever run into problems installing or using Jekyll, here are a few ... Base-URL Problems; Configuration problems; Markup Problems; Production Problems...
Read more >Modes and Environment Variables - Vue CLI
NODE_ENV - this will be one of "development" , "production" or "test" depending on the mode the app is running in. BASE_URL -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Facing the same issue. While setting up the reproduction I noticed that this bug only occurs when creating an additional page. Otherwise it only occurs on first page load while working when refreshing the page.
Reproduction: https://codesandbox.io/s/twilight-architecture-9f7olx?file=/nuxt.config.ts
After many attempts, I found what is causing the odd issue. I will create another issue with the reproduction.