node.js - eclipse debugging with npm and react -


unfortunately code on intranet , can't copied , pasted. sorry can't provide more details easily...

i have been using eclipse java development years started using npm , react on project started before got on it.

i set debugging of front end this. since new @ npm , react i'm not sure put "main file" in eclipse. when use app.js main file error on "import" statements in file ("unexpected reserve word.) when use bundle.js (the product of npm believe) error on line window.navigator.useragent... stating "window not defined."

also, when run npm this: npm run-script dev-server , trying add run configuration under "node arguments."

if has npm/react/eclipse working info appreciated.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -