javascript - main.js 404 error for MIT react-starter-kit -


i'm using kriasoft's react starter kit, , built small app. runs locally w/ browserify, when try running production server @ /build/server.js, main.js file gives 404 error in chrome console , of code breaks.

i've done research , looked around -- think has browserify, haven't been able figure out.

can explain me i'm doing wrong , root of issue is? :)

through browserify through running node build/server.js

this issue addressed here. build needs run "release" option when testing without browsersync/hmr/react transform.

npm run build -- --release && node build/server.js 

otherwise, bundle not build properly.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -