Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
npm run start:prod is failed, unnecessary modules required (newly created project) v5 #594
I'm submitting a...
After setting up a project with CLI as described in docs (without changing code), I have tried to run a command 'npm run start:prod' and get this error:
Of course the easiest solution is to install these packages, but what if I don't use them and don't want to install. Thanks.
Compile and server in
Minimal reproduction of the problem with instructions
Try to setup up project with CLI, and then run 'npm run start:prod'
If you happen to build your project in a Docker container and then run it in a different one for use in production, then don't use
It must have been an idea for an April fools' day prank.
It works for me :)