Wrong path in production mode
See original GitHub issue- problem: The production search path for Promise.allSettled is orphaned based.
- Please note that this isn’t limited to the
Promise.allSettled()
: Any random pages of JavaScript I checked redirects to /orphanes/… Maybe related to markdown conversion.
- Please note that this isn’t limited to the
A while ago I went through a PR to remove conflicts/orphans for each locale of translated content. I don’t know if it’s because of that, but the current path is strange for several URLs. The path is orphaned based. It seems to be a yari problem, so I left an issue.
Below is the PR and the URL where the problem occurs. (The URL is just one example among many.)
- delete conflicting/orphaned in ko
- https://developer.mozilla.org/ko/docs/orphaned/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
Another locales also have a problem.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Wrong path to static files in production mode in Vue.js ...
Solved: I just changed index.js file in config folder. From: assetsPublicPath: '/'. To: assetsPublicPath: ''.
Read more >Incorrect JS paths when ng build -prod is deployed in ... - GitHub
It worked for me to deploy in my production server, but after change, 'ng serve' doesn't load application anymore either in http://localhost: ...
Read more >Deployment - Angular
Production mode improves application performance by disabling development-only safety checks and debugging utilities, such as the expression-changed-after- ...
Read more >Frequently Asked Questions | Laravel Mix Documentation
By default, this mode is set to development. npx mix. If you're ready to build for a production environment, add the --production flag,...
Read more >How I solved and debugged my Webpack issue through trial ...
const path = require('path');const HtmlWebpackPlugin ... --mode development --open", "build": "webpack --mode production"},"author": "" ...
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
Please note that this isn’t limited to the
Promise.allSettled()
: Any random pages of JavaScript I checked redirects to/orphaned/...
. Maybe related to markdown conversion.https://github.com/mdn/yari/blob/6f66eb8f670699766ea8be46a50accf72ddafe1d/build/sync-translated-content.js#L151
Difference of file extension (*.html vs. *.md) seems to be the cause.