Cant Rebuild App After Loading Translated Files

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.

Question Resolved For: Warehouse Inventory Management Solution 0 Votes 2 Answers 1.5k Views
Asked by Brendee Маркетинг 2 years ago

0

Answered by Brendee Маркетинг 2 years ago

I can only run npm i && npm run build, but that also ends in an error.

0

Answered by Mian Saleem 2 years ago

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.