-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
need more infoFurther information is requestedFurther information is requested
Description
Describe the bug
The project runs normally in the development environment, but an error occurs when packaging.
The error message is:
Cannot find module '/project/docs/docs/.vitepress/.temp/app.js' imported from /project/node_modules/.pnpm/vitepress@1.6.3_@algolia+client-search@5.49.1_@types+node@20.11.5_async-validator@4.2.5_822091b787b870de8a2291f1ec9a557e/node_modules/vitepress/dist/node/chunk-Zsoi3j4v.js
Reproduction
At present, I cannot identify the root cause of this issue, as the error message provided is far too limited.
Expected behavior
I hope the project can be built and packaged normally.
System Info
System:
OS: macOS 15.7.4
CPU: (10) arm64 Apple M4
Memory: 4.64 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.17.0 - /Users/poggi/.nvm/versions/node/v22.17.0/bin/node
npm: 10.9.2 - /Users/poggi/.nvm/versions/node/v22.17.0/bin/npm
pnpm: 10.29.3 - /Users/poggi/.nvm/versions/node/v22.17.0/bin/pnpm
Browsers:
Chrome: 145.0.7632.117
Safari: 18.6
Additional context
No response
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
need more infoFurther information is requestedFurther information is requested