Open JonasBa opened 3 years ago
@JonasBa does blitz build
work locally? (always the first thing to try if production build fails)
Also please paste the contents of your tsconfig.json
I see the same TS error with latest blitz version. Steps to reproduce:
git clone https://github.com/uncurated-tests/blitzjs-2021-03
cd blitzjs-2021-03
yarn install
yarn build
Ok yes the solution to this problem is we need to update the vercel example: https://github.com/vercel/vercel/tree/master/examples/blitzjs
The workaround is create a new app via blitz new
@flybayer is this still open? It seems like this was merged. Should we close this?
@meehawk their template still needs updated. It's currently at v0.17 lol
What is the problem?
Tried creating a project through vercel's GUI using Blitz template and deploying it resulted in compile time type error
Paste all your error logs here:
Looks like highlighting breaks stack trace formatting on Github - here is a screenshot of the trace
Paste all relevant code snippets here:
None
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:macOS Big Sur | darwin-x64 | Node: v12.18.2
blitz: 0.33.0 (global) blitz: 0.33.0 (local)
Package manager: yarn System: OS: macOS 11.3 CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz Memory: 683.97 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 12.18.2 - ~/.nvm/versions/node/v12.18.2/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.6 - ~/.nvm/versions/node/v12.18.2/bin/npm Watchman: Not Found npmPackages: @prisma/client: ~2.17 => 2.17.0 blitz: 0.33.0 => 0.33.0 prisma: ~2.17 => 2.17.0 react: 0.0.0-experimental-3310209d0 => 0.0.0-experimental-3310209d0 react-dom: 0.0.0-experimental-3310209d0 => 0.0.0-experimental-3310209d0 typescript: ~4.1 => 4.1.5