You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Vue3 + Pinia project is working fine in local, however when I trying to build the project fails with this error:
09:51:07 vite v4.3.9 building for production...
09:51:07 transforming...
09:51:07 ✓ 3 modules transformed.
09:51:07 ✓ built in 113ms
09:51:07 [vite]: Rollup failed to resolve import "pinia" from "/home/jenkins/agent/workspace/herram/webapp/src/main.js".
09:51:07 This is most likely unintended because it can break your application at runtime.
09:51:07 If you do want to externalize this module explicitly add it to
09:51:07 `build.rollupOptions.external`
09:51:07 error during build:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone!
My Vue3 + Pinia project is working fine in local, however when I trying to build the project fails with this error:
This is my vite.config.js file
I really don't know what I'm doing wrong since in local works perfectly...
Thanks in advice!
Beta Was this translation helpful? Give feedback.
All reactions