Pages + VueJS and React cannot build the app on pages
hey guys question.
I have my vuejs + react app, I added count view in my admin view but when I try to build the app in cloudflare pages now I get this error
x Build failed in 386ms
12:58:40.550 error during build:
12:58:40.550 [vite:load-fallback] Could not load /opt/buildhome/repo/src/utils/userCounts (imported by src/components/AdminPermissionsManager.vue): ENOENT: no such file or directory, open '/opt/buildhome/repo/src/utils/userCounts'
and I keep getting it on any new import I try.
On my local pc npm run build works perfect with the same code, it happen only when I push it to pages.
Hoe can I fix it?
0 Replies