Error building nextjs application on vercel
When building my application on vercel it fails for some reason and i'm not sure why, it builds fine locally but fails on remote.
this is the error i'm getting:
github repo: https://github.com/jacobsamo/BuzzTrip/tree/improve-web
GitHub
GitHub - jacobsamo/BuzzTrip at improve-web
Plan the trip you've always dreamed of. Contribute to jacobsamo/BuzzTrip development by creating an account on GitHub.
Solution:Jump to solution
The issue seemed to be the following:
1. instrumentationHook was not set in nextjs config:
```
experimental: {
instrumentationHook: true,...
3 Replies