react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

run yarn build react/index,react-dom/index --type=UMD but noting

Open zhang14725804 opened this issue 5 years ago • 9 comments

download react-16.8.0 source code and run "yarn"

follow Development Workflow

run "yarn build react/index,react-dom/index --type=UMD"

but react-16.8.0/build/node_modules/react/umd/react.development.js net::ERR_FILE_NOT_FOUND

build folder only contains facebook-www folder and react-native folder

zhang14725804 avatar Mar 05 '20 09:03 zhang14725804

Worked fine for me, and the rest of the team. what version of node are you using? can you share more of the error from your terminal?

threepointone avatar Mar 09 '20 21:03 threepointone

node version:12.16.0,platform win10,,react 16.8.0

zhang14725804 avatar Mar 10 '20 00:03 zhang14725804

Try with node v10?

threepointone avatar Mar 10 '20 01:03 threepointone

Please share what the terminal output is after you build as well

threepointone avatar Mar 10 '20 01:03 threepointone

image

zhang14725804 avatar Mar 10 '20 02:03 zhang14725804

Yeah it doesn’t seem to be building properly here. Please try using node v10, run yarn once, and try again. We’ll work on making this work with 12 soon.

threepointone avatar Mar 10 '20 02:03 threepointone

I use node 10.8.0 It work for me! thank you very much! but what the error mean in the follow picture image

zhang14725804 avatar Mar 10 '20 02:03 zhang14725804

the same issue, also using windows10 I tried node v14.20.0, v12.22.12 and v10.24.1 and still the same for '17.0.2' branch

Glenn8119 avatar Jul 24 '22 14:07 Glenn8119