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

python - PyInstaller UAC not working in onefile mode -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -