R
R
re1mond2020-02-03 14:46:15
Building projects
re1mond, 2020-02-03 14:46:15

How to fix an error when building a React app?

When building a react application, I want to call INLINE_RUNTIME_CHUNK=false yarn buildit in order to avoid calling inline functions, but I get the following error:

INLINE_RUNTIME_CHUNK=false : Имя "INLINE_RUNTIME_CHUNK=false" не распознано как имя командлета, функции, файла
сценария или выполняемой программы. Проверьте правильность написания имени, а также наличие и правильность пути, после
чего повторите попытку.


How can I fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2020-02-03
@re1mond

Judging by the error, you have Windows.
Read the documentation before running commands.
https://create-react-app.dev/docs/adding-custom-en...
If you copy-paste everything in a row, without understanding what exactly you are doing, then you can safely give people your ssh keys and other delights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question