Conversation
✅ Deploy Preview for rspack canceled.
|
JSerFeng
previously approved these changes
Nov 18, 2024
Contributor
|
why the resolve succeed before and dont get the panic message now |
c9ae157 to
c000bcd
Compare
Contributor
Author
Before #8366, We use Currently we will convert |
LingyuCoder
approved these changes
Nov 19, 2024
Merged
Closed
7 tasks
NyanKiyoshi
added a commit
to NyanKiyoshi/saleor-docs
that referenced
this pull request
Dec 5, 2024
When running the docs inside containers (specifically with volumes), the docs would fail to build with errors such as:
```
[INFO] Starting the development server...
[SUCCESS] Docusaurus website is running at: http://localhost:5000/
× Module not found: Can't resolve '/app/src/css/theme.css' in '/app/.docusaurus'
╭─[5:4]
3 │ require("/app/node_modules/@docusaurus/theme-classic/lib/prism-include-languages"),
4 │ require("/app/node_modules/@docusaurus/theme-classic/lib/nprogress"),
5 │ require("/app/src/css/theme.css")
· ─────────────────────────────────
6 │ ];
╰────
[...]
× Cannot find module '@generated/site-storage' for matched aliased key '@generated'
[...]
client (Rspack 1.1.1) compiled with 34 errors
```
This commit fixes the issue by upgrading `@rspack/core` to v1.1.2 which contains the fix: web-infra-dev/rspack#8467
aniav
added a commit
to saleor/saleor-docs
that referenced
this pull request
Dec 9, 2024
* Fix build errors on container volumes
When running the docs inside containers (specifically with volumes), the docs would fail to build with errors such as:
```
[INFO] Starting the development server...
[SUCCESS] Docusaurus website is running at: http://localhost:5000/
× Module not found: Can't resolve '/app/src/css/theme.css' in '/app/.docusaurus'
╭─[5:4]
3 │ require("/app/node_modules/@docusaurus/theme-classic/lib/prism-include-languages"),
4 │ require("/app/node_modules/@docusaurus/theme-classic/lib/nprogress"),
5 │ require("/app/src/css/theme.css")
· ─────────────────────────────────
6 │ ];
╰────
[...]
× Cannot find module '@generated/site-storage' for matched aliased key '@generated'
[...]
client (Rspack 1.1.1) compiled with 34 errors
```
This commit fixes the issue by upgrading `@rspack/core` to v1.1.2 which contains the fix: web-infra-dev/rspack#8467
* Exclude .json files from cspell check
---------
Co-authored-by: Ania Warzecha <anna.warzecha@saleor.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Some linux musl can not get create time, and it will make resolve failed because of
metadatareturn err.This PR will specify a default value of 0 for the creation time when the platform does not support it.
Should fix:
Module not found: Can't resolve <entry_path>in Docker #8433Checklist