0
When I go to the solution folder and enter the command 'npm i && npm run prod' I get an error.
As far as I can see, there is no prod script in the package.json file:
"scripts: {
{ "dev": "vite",
"build": { "vite build" },
This causes an error:
npm ERR! Missing script: "prod"
Please describe step by step what you need to add to package.json and how to run the commands.
If you have a ready file with the necessary PROD script, please provide me.
0
I can only run npm i && npm run build, but that also ends in an error.
0
Hello,
The docs are outdated. I will update them. Please run npm run build
to build the production app.
The build error is caused due to syntax error in your language file. The path is shown on the error.
Thank you
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.