Level 4
Hey,
This command runs on your machine so you need to find out why it's failing and update/remove it if you want. It's just there by default as an example of what you can do with Vapor.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi all,
Trying to setup a production env on Vapor and I get the following error:
The command "npm install && npm run production && rm -rf node_modules" failed.
Exit Code: 2(Misuse of shell builtins)
Working directory: /Users/lee/code/nrs/.vapor/build/app
Please or to participate in this conversation.