My next js App in local running fine and all images on front end seem to load fine but I get issues on deployment.Logs are below.
From the screenshots, I see that
cross-env is not found in the $PATH however I am unable to reproduce the issue.
I tried to create a new nextjs application with
npx create-next-app@latest, install cross-env with
npm install --save-dev cross-env, and prefixed all the commands of
cross-env. It works well using the buildpack builder.
Can you provide a minimal application that is failing to deploy so we can reproduce the issue?
Thanks Julien .I was able to solve this