dschaefer / eclipse-two

A prototype IDE based on Electron
Eclipse Public License 1.0
92 stars 10 forks source link

Cannot read property 'config' of undefined in Monaco.ts #14

Closed gravemalte closed 7 years ago

gravemalte commented 7 years ago

Hey there,

found an strange error in Monaco.ts.

loader.require.config({
    baseUrl: baseUrl
});

This line of code does not allow to start eclipse-two respectively gives an error in the dev tools and the editor cannot start. image

After removing this line all works fine.

Hope I could help :)

Greetings

dschaefer commented 7 years ago

Uh, I see it now. Had to clean out my node_modules and dist. Thanks! This loader.require thing has been a pain in the ...

gravemalte commented 7 years ago

I see. It's a pleasure to contribute to the project !

dschaefer commented 7 years ago

Can't wait to get it to a state where I can get even more contributions :).

Fixed. Must have been an API change in the latest Monaco update. Glad I have VS.Code as an example of how to load this thing!