Comments (4)
I'd be in favor of separating the watch scripts for each application target (first option).
from generator-theia-extension.
@sdirix do you have an idea here?
from generator-theia-extension.
Looking at the scripts the following is happening:
watch
is executed in all packages- The
watch
inbrowser-app
andelectron-app
both triggerrebuild
, i.e.theia rebuild:browser
andtheia rebuild:electron
.
The native Node modules can only be built for either browser
or electron
, not both at the same time. I'm also not sure what happens when both rebuilds are executed in parallel, i.e. whether one of them then "wins" or maybe even both are broken.
drivelist.node
is one of the native modules, so yarn start
fails for you because it's now the electron
version or broken by the parallel watch.
Suggestion: Either
- Don't offer a single watch script in the root, but offer
watch:browser
andwatch:electron
, or - Keep the watch script but only watch the browser variant
from generator-theia-extension.
I would be in favor of the first option, @vince-fugnitto WDYT?
from generator-theia-extension.
Related Issues (20)
- [backend] The backend example is not connection scoped HOT 2
- tree: fix `tree-editor` template
- ci: bump node version
- Require Node 14 before generating templates
- tree-editor: build failures HOT 1
- widget does not position in the default area HOT 2
- Error: Command failed: npm run prepare HOT 7
- errors: there are a number of build errors during CI HOT 2
- Generated electron-app does not work anymore
- widget menu click error HOT 4
- Scaffolding start error HOT 5
- Error when starting Theia (hello world template) HOT 3
- Need for a theia clean or build:clean HOT 3
- `-4058 scandir ENOENT` error occurred when creating the `TreeEditor` extension HOT 8
- run "yo theia-extension" Error theia-extension HOT 8
- generator-theia-extension fails on all generators HOT 1
- Error when starting theia-extension template
- Can't start browser after starting electron HOT 7
- Electron app error about HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-theia-extension.