Skip to content

weave Theia & Edge.js #14436

Answered by msujew
cbries asked this question in General
Nov 12, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Hey @cbries,

we compile/bundle our backend with webpack to minimize disk usage and startup time. Since this changes the way the files are layouted on disk, this check done by edge.js fails.

There are two ways to go about this:

  1. Disable the backend bundling (can be done in the webpack.config.js of your app). This is quick and dirty but should work well.
  2. Enhance the build process (also defined in webpack.config.js) to copy the native .node files to the expected location. It looks like edge.js expects them under <app>/lib/backend/native/win32/x64/20/<file>.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@cbries
Comment options

Answer selected by cbries
Comment options

You must be logged in to vote
4 replies
@cbries
Comment options

@msujew
Comment options

@cbries
Comment options

@msujew
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants