Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in yo theia:browser on windows 10 with git bash #268

Closed
daxiansheng opened this issue Jul 2, 2017 · 3 comments
Closed

Bug in yo theia:browser on windows 10 with git bash #268

daxiansheng opened this issue Jul 2, 2017 · 3 comments
Assignees
Milestone

Comments

@daxiansheng
Copy link

daxiansheng commented Jul 2, 2017

cd theia/examples/browser && yo theia:browser
./src-gen/frontend/index.js is auto-created with the following lines:

Promise.resolve()
.then(function () { return import('theia-core\lib\application\browser\menu\browser-menu-module').then(load) })
.then(function () { return import('theia-core\lib\application\browser\clipboard\browser-clipboard-module').then(load) })
.then(function () { return import('theia-core\lib\filesystem\browser\filesystem-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\workspace\browser\workspace-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\navigator\browser\navigator-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\terminal\browser\terminal-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\editor\browser\editor-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\monaco\browser\monaco-browser-module').then(load) })
.then(function () { return import('theia-core\lib\languages\browser\languages-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\java\browser\java-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\python\browser\python-frontend-module').then(load) })
.then(function () { return import('theia-core\lib\cpp\browser\cpp-frontend-module').then(load) })
.then(start);

The chracters "\" in the "return import" lines will cause compilation errors.

In order to make the compiler happy, I had to manually replace all "\" with "/"

@daxiansheng
Copy link
Author

The same issues exists int ./src-gen/backend/main.js

akosyakov added a commit that referenced this issue Jul 19, 2017
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
@akosyakov
Copy link
Member

@daxiansheng Could you try with #310?

akosyakov added a commit that referenced this issue Jul 20, 2017
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
@akosyakov
Copy link
Member

Should be fixed by #310

lmcgupe pushed a commit to lmcgupe/theia that referenced this issue Jul 21, 2017
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
@svenefftinge svenefftinge added this to the Theia 1.0 BETA milestone Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants