-
Notifications
You must be signed in to change notification settings - Fork 196
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
Building problem #386
Comments
Can you describe a bit more of the steps to replicate the problem and I will try to replicate the problem and see what's happening |
I just cloned the repo in a folder (C:\repos\git) cd in the formeo dir and called npm install and npm run build. c:\repos\git>cd formeo c:\repos\git\formeo>npm install
sync hooks: ✔️ (commit-msg, pre-push) added 689 packages, and audited 932 packages in 9s 187 packages are looking for funding 1 high severity vulnerability To address all issues, run: Run c:\repos\git\formeo>npm run build
vite v5.4.11 building for production...
vite v5.4.11 building for demo... 14:50:18 ERROR x Build failed in 4.26s 14:50:22 ../../dist/demo/index.html 3.31 kB │ gzip: 1.52 kB 14:50:22 WARN 14:50:22
✨ [vite-plugin-compression]:algorithm=gzip - compressed file successfully: ERROR error during build: 14:50:22 ERROR: "build:demo" exited with 1. Obviusly if I open this c:\repos\git\formeo\src\lib\icons\formeo-sprite.svg the file exists and can be open Thanks in advance for your help |
Trying to build from cloned repo I get:
ERROR error during build: 20:43:43
[vite-plugin-static-copy:build] No file was found to copy on C:\repos\git\formeo\src\lib\icons\formeo-sprite.svg src.
at collectCopyTargets (file:///C:/repos/git/formeo/node_modules/vite-plugin-static-copy/dist/index.js:512:13)
at async copyAll (file:///C:/repos/git/formeo/node_modules/vite-plugin-static-copy/dist/index.js:577:23)
at async Object.writeBundle (file:///C:/repos/git/formeo/node_modules/vite-plugin-static-copy/dist/index.js:1105:22)
at async Promise.all (index 1)
at async PluginDriver.hookParallel (file:///C:/repos/git/formeo/node_modules/rollup/dist/es/shared/node-entry.js:21127:9)
at async file:///C:/repos/git/formeo/node_modules/rollup/dist/es/shared/node-entry.js:22170:13
at async catchUnfinishedHookActions (file:///C:/repos/git/formeo/node_modules/rollup/dist/es/shared/node-entry.js:21545:16)
at async build (file:///C:/repos/git/formeo/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:65449:16)
at async CAC. (file:///C:/repos/git/formeo/node_modules/vite/dist/node/cli.js:828:5)
But the file C:\repos\git\formeo\src\lib\icons\formeo-sprite.svg is there...
Any suggestion?
The text was updated successfully, but these errors were encountered: