-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module not found error when building v1.21 #30596
Comments
Maybe your If you want to investigate deeper, could also see if a |
I was fine before, but not lately |
Seems like upstream issue in that package: cytoscape/cytoscape.js#3239 |
What's strange is that v1.21 uses |
I also occasionally experience the similar problem (not only related to cytoscape). I just do I think it is the npm/webpack's problem, for example, if there is a network error (or use ^C to stop the npm process), then the On my side (macOS M2), I tried |
Problem started to occur in automatic build process (empty node_modules, no network errors, etc.) and occurs every time. Build process and source code were not changed in the meantime. The problem is caused by running Please verify and fix. |
Hmm yeah |
On topic here: Let's wait on cytoscape/cytoscape.js#3239 and a future mermaid.js update to resolve this hopefully. |
This upgrades `generate-images.js` on v1.21 to the latest version from main branch and I ran it which generated some minor diff in the SVGs. It fixes one issue mentioned in #30596 (comment) by removing `--no-package-lock`.
#30713 updates main branch to the fixed cytoscape version.
|
Update mermaid and its dependencies on v1.21. Should fix #30596 because it includes the fixed version of the `cytoscape` indirect dependency.
Is this issue fixed after bump the version of dependencies? |
Pretty sure it should. |
Description
make build
worked fine a few days before for same gitea source and now throwsSimilar problem described on langgenius/dify#3613
Gitea Version
1.21
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Compiled from sources.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: