Vercel build error, Unable to find lambda for route

Viewed 41

I am trying to build and deploy a NextJS application using the Vercel CLI.

The strategy is to pre-build and then deploy the pre-built artifacts.

vercel build
vercel deploy --prebuilt 

I am getting the following errors:

enter image description here

Any help would be much appreciated.

1 Answers

I wanted to do exactly what you wanted to do and I got this error. If you are using windows cmd you need to install WSL and then after installing prerequisites like node on it run the command.

Related