-
Notifications
You must be signed in to change notification settings - Fork 132
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
quick start is not working #775
Comments
You can temporarily down react's verson to 17.x |
OK. noted.. I will use the demo for now. |
Found error in 'yarn start' console
The App.js is as below:
|
When you downgrade react to v17, you should edit the usage of react-dom meanwhile. ReactDOM.render(
<App />,
document.getElementById('root')
); You can directly render the App component to the root, rather than call |
Finally, it's working with below 0.9.0-beta.2 config. App.js import React from 'react';
import { MoleculeProvider, Workbench } from '@dtinsight/molecule';
import '@dtinsight/molecule/esm/style/mo.css';
function App() {
return (
<MoleculeProvider extensions={[]}>
<Workbench />
</MoleculeProvider>
);
}
export default App; Also need to copy the index.tsx from the working demo. The quick start is not easy to setup as for now. |
Sorry, that's our problem. We'll handle it as soon as possible |
Yes. I saw it's in the improvement list of the coming version. Looking forward to the new version. |
Describe the bug
The molecule-demo demo is not working, with console errors.
Versions
To reproduce
Expected
See the IDE UI in localhost browser.
Actually happening
browser is empty, saw errors in console.
The text was updated successfully, but these errors were encountered: