Skip to content

mov-fe-lib-code-editor 1.1.2-15

Install from the command line:
Learn more about npm packages
$ npm install @mov-ai/mov-fe-lib-code-editor@1.1.2-15
Install via package.json:
"@mov-ai/mov-fe-lib-code-editor": "1.1.2-15"

About this version

Mov.ai library for code editor

Movai

Mov.ai's library to expose Code Editors

Packages available

  • MonacoCodeEditor

Development

Open the project in VS Code and then choose to reopen in container. Once the container is ready, open a new terminal inside VS Code and run

npm ci
npm run storybook

Note: ~/.npmrc must be previously configured with access to github

Proxy

During development requests are proxied using http-proxy-middleware. Edit src/setupProxy.js to add more endpoints.


## Troubleshooting

### Invalid hook

When running the lib-code-editor locally from IDE or another app, you might have an issue with invalid hooks with the following message: "Error: Invalid hook call. Hooks can only be called inside of the body of a function component."

To fix it, stop the development server of IDE (or the other app), stop the buildDev of lib-scene and run the following command in lib-scene repository root:

`npm link ../<app_directory_name>/node_modules/react`

Details


Assets

  • mov-fe-lib-code-editor-1.1.2-15.tgz

Download activity

  • Total downloads 4
  • Last 30 days 0
  • Last week 0
  • Today 0