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

npm run build报错,望指导! #162

Open
puterkey opened this issue Mar 22, 2024 · 1 comment
Open

npm run build报错,望指导! #162

puterkey opened this issue Mar 22, 2024 · 1 comment

Comments

@puterkey
Copy link

✓ 51 modules transformed.
x Build failed in 1.20s
error during build:
Error: [commonjs--resolver] Missing "./lib" specifier in "solid-icons" package
at e (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47581:25)
at n (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47581:627)
at o (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47581:1297)
at resolveExportsOrImports (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:48271:20)
at resolveDeepImport (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:48290:31)
at tryNodeResolve (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:48015:20)
at Object.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47765:28)
at file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:19563:40
at async PluginDriver.hookFirstAndGetPlugin (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:19463:28)
at async resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18144:26)
at async ModuleLoader.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18547:15)
at async Object.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:8237:10)
at async PluginDriver.hookFirstAndGetPlugin (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:19463:28)
at async resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18144:26)
at async ModuleLoader.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18547:15)
at async file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18851:50

@Luminet2023
Copy link

✓ 51 modules transformed. x Build failed in 1.20s error during build: Error: [commonjs--resolver] Missing "./lib" specifier in "solid-icons" package at e (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47581:25) at n (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47581:627) at o (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47581:1297) at resolveExportsOrImports (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:48271:20) at resolveDeepImport (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:48290:31) at tryNodeResolve (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:48015:20) at Object.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:47765:28) at file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:19563:40 at async PluginDriver.hookFirstAndGetPlugin (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:19463:28) at async resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18144:26) at async ModuleLoader.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18547:15) at async Object.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/vite/dist/node/chunks/dep-B-u6xNiR.js:8237:10) at async PluginDriver.hookFirstAndGetPlugin (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:19463:28) at async resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18144:26) at async ModuleLoader.resolveId (file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18547:15) at async file:///D:/Sam/FamilyApp/alist/web/node_modules/rollup/dist/es/shared/node-entry.js:18851:50

用npm有问题,得用pnpm编译

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

2 participants