Try to fix unhandled node scheme errors#54
Draft
sim642 wants to merge 1 commit into
Draft
Conversation
Fixes the following errors which break compilation for some reason:
ERROR in node:child_process
Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
at NormalModule.needBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:1177:32)
@ ./src/App.bc.js 1269:2-31
ERROR in node:constants
Module build failed: UnhandledSchemeError: Reading from "node:constants" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/Hook.js:18:14)
at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
@ ./src/App.bc.js 580:2-27
ERROR in node:tty
Module build failed: UnhandledSchemeError: Reading from "node:tty" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
at NormalModule.needBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:1177:32)
@ ./src/App.bc.js 1284:2-21
These are suggestions from Copilot.
I have no clue why these are suddenly necessary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the following errors which break compilation for some reason:
These are suggestions from Copilot.
I have no clue why these are suddenly necessary.