Y
Y
ymenaidtopa2021-08-29 20:47:32
JavaScript
ymenaidtopa, 2021-08-29 20:47:32

I do npm run deploy and this error occurs?

What package do you need to download?

C:\Users\User_ml\Desktop\ПРОДАЖА>npm run build

> [email protected] build
> GENERATE_SOURCEMAP=false react-scripts build

"GENERATE_SOURCEMAP" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.


Tried npm install, didn't help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
artys2018, 2021-09-15
@artys2018

On Windows this won't work, you can install Linux or use cross-env .
With cross-env it would look like this:

cross-env GENERATE_SOURCEMAP=false react-scripts build

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question