Comments (6)
The hello world option handles this case correctly, try the "widget" :-)
from generator-theia-extension.
@JonasHelming I could not identify what example
actually does.
I attempted the following:
yo theia-extension --example=false
and selected the hello world
option and it ultimately lead to code which successfully compiled and ran. Am I missing something?
from generator-theia-extension.
The hello world option handles this case correctly, try the "widget" :-)
I tried using widget
as an option and it still seemed to work?
I suspect that example is just not used as an option.
from generator-theia-extension.
You are right, I retested that. So you just discovered even another bug. in the "configuring" of index.ts, the "example" input parameter is not added to parameters. Therefore, in the current state, the parameter is completly ignored. If it would not be ignored, it would lead to the issue described above. So this fix addresses both issues basically by removing the example option altogether (which did not even work) and replacing this with a dedicated template.
from generator-theia-extension.
PR: #55
from generator-theia-extension.
Closed thanks to #55
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
- 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.