Vinxi build failing in CI
Hi, I wanted to use SolidStart for my project and the website builds fine locally, but in GItHub actions, the job is failing.
Error: [vite:load-fallback] Could not load /home/runner/work/website-broken-ci/website-broken-ci/website/src/app.tsx (imported by node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@solidjs/start/dist/server/StartServer.jsx): ENOENT: no such file or directory, open '/home/runner/work/website-broken-ci/website-broken-ci/website/src/app.tsx'https://github.com/alven-shin/website-broken-ci/actions/runs/9149884716/job/25154004092 The website was created with the tailwindcss template with solid-ui and prettier added. I create a fresh project and replicated the plugins, and it worked without any issues. I am struggling to find where the problem is. I created a new repo with just the website and previous git history squashed, and the issue is still present. The two repos are identical AFAIK except the commit history. I tried searching for the error, but I wasn't able to find a working fix. I would appreciate a fix/solution that does not involve throwing away my commit history. Problematic repo: https://github.com/alven-shin/website-broken-ci Working repo: https://github.com/alven-shin/website-test-ci
0 Replies