Skip to content
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

pnpm dev 运行报错 #1

Open
MissGwen opened this issue Dec 23, 2024 · 0 comments
Open

pnpm dev 运行报错 #1

MissGwen opened this issue Dec 23, 2024 · 0 comments

Comments

@MissGwen
Copy link

node -v v22.12.0
pnpm -v v9.15.1

`请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。若要正式发布,请点击发行菜单或使用 cli 发布命令进行发布
正在编译中...
error during build:
Error [ERR_INTERNAL_ASSERTION]: Unexpected status of a module that is imported again after being required. Status = 0
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at Function.fail (node:internal/assert:17:9)
at ModuleJobSync.run (node:internal/modules/esm/module_job:378:12)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:42)
at async import (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\[email protected]\node_modules\jiti\dist\jiti.cjs:1:195631)
at async C:/Users/MissGwen/Desktop/snai-uni-app/pages.config.ts:1:207
at async Function.import (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\[email protected]\node_modules\jiti\dist\jiti.cjs:1:195631)
at async Module.loader (file:///C:/Users/MissGwen/Desktop/snai-uni-app/node_modules/.pnpm/[email protected]/node_modules/importx/dist/chunks/jiti.mjs:11:15)
at async Module.importx (file:///C:/Users/MissGwen/Desktop/snai-uni-app/node_modules/.pnpm/[email protected]/node_modules/importx/dist/index.mjs:179:19)
at async C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\[email protected]\node_modules\unconfig\dist\index.cjs:177:21
at async loadConfigFile (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\[email protected]\node_modules\unconfig\dist\index.cjs:176:18)
at async Object.load (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\[email protected]\node_modules\unconfig\dist\index.cjs:105:24)
at async PageContext.loadUserPagesConfig (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\@[email protected][email protected]_@[email protected][email protected][email protected]_\node_modules\@uni-helper\vite-plugin-uni-pages\dist\index.cjs:369:33)
at async PageContext.updatePagesJSON (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\@[email protected][email protected]_@[email protected][email protected][email protected]_\node_modules\@uni-helper\vite-plugin-uni-pages\dist\index.cjs:534:5)
at async configResolved (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\@[email protected][email protected]_@[email protected][email protected][email protected]_\node_modules\@uni-helper\vite-plugin-uni-pages\dist\index.cjs:638:7)
at async Promise.all (index 0)
at async resolveConfig (file:///C:/Users/MissGwen/Desktop/snai-uni-app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:68410:5)
at async Module.build (file:///C:/Users/MissGwen/Desktop/snai-uni-app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:67273:20)
at async CAC.runDev (C:\Users\MissGwen\Desktop\snai-uni-app\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_@typ_meryxf5w2pko74camwwwy4wgfm\node_modules\@dcloudio\vite-plugin-uni\dist\cli\action.js:63:30)

 ELIFECYCLE  Command failed with exit code 1.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant