Comments (5)
@gouych thank you for the discussion, I transferred the issue to the appropriate repository.
Can you try with the latest version of the generator (0.1.35
)? Everything works fine for me, I point to the lib
folder for the main
entry:
"main": "lib/backend/electron-main.js",
from generator-theia-extension.
@vince-fugnitto The issue seems to be about the latest community release (1.34.4), using the main entry you point out won't work.
@gouych Can you try the latest Theia release (1.39.0) as well? Just to narrow down whether it's an issue related to the community release or a general one.
from generator-theia-extension.
Everything works fine with the latest version.
Is there a solution for version 1.34.4.
from generator-theia-extension.
I am seeing issues with 1.39 in the electron-app as well, using the hello world template and the 0.1.35 generator.
For me either
changing prepare
to rebuild before the actual build ("prepare": "theia rebuild:electron && theia build --mode development",
)
or
adding
"main": "src-gen/backend/electron-main.js",
works.
Otherwise starting the electron app fails with Error: node-loader: Error: Module did not self-register:
errors.
Steps to reproduce:
mkdir my-extension && cd my-extension
yo theia-extension
<Enter> (Hello World extension type)
<Enter> (hello-world extension name)
yarn start:electron
from generator-theia-extension.
Fixed by #173.
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
- Error when starting Theia (hello world template) HOT 3
- Watch breaks application start HOT 4
- 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.