-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watch breaks application start #176
Comments
@sdirix do you have an idea here? |
Looking at the scripts the following is happening:
The native Node modules can only be built for either
Suggestion: Either
|
I would be in favor of the first option, @vince-fugnitto WDYT? |
I'd be in favor of separating the watch scripts for each application target (first option). |
fixed #176 Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
fixed #176 Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
fixed #176 Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
Create a template, e.g. hello world
yarn watch on the root level
change something
wait until the rebuild finishes
cd browser-app & yarn start
=> /home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-0ccbd3.js:16
throw new Error('node-loader:\n' + error);
^
Error: node-loader:
Error: Module did not self-register: '/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/native/drivelist.node'.
at Object.../node_modules/drivelist/build/Release/drivelist.node (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-0ccbd3.js:16:9)
at webpack_require (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/main.js:667:42)
at module.exports (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/main.js:155:34)
at Object.../node_modules/drivelist/js/index.js (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-0ccbd3.js:30872:27)
at webpack_require (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/main.js:667:42)
at Object.../node_modules/@theia/core/lib/node/env-variables/env-variables-server.js (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-0ccbd3.js:5204:19)
at webpack_require (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/main.js:667:42)
at Object.../node_modules/@theia/core/lib/node/env-variables/index.js (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-0ccbd3.js:5313:14)
at webpack_require (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/main.js:667:42)
at Object.../node_modules/@theia/core/lib/node/backend-application-module.js (/home/jonas/tmp/theiatest/generatechangebuild/browser-app/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-0ccbd3.js:4568:25)
Done in 1.19s.
The text was updated successfully, but these errors were encountered: