You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gun2rin (via GitHub)" <gi...@apache.org> on 2023/12/11 13:55:41 UTC

[I] React issues while building just fyi [camel-karavan]

gun2rin opened a new issue, #1026:
URL: https://github.com/apache/camel-karavan/issues/1026

   Hi guys!  
   I  am updating the project locally from time to time (git pull origin main) and recently encountered a problem with building.
   
   There was an error 
   
   ```bash
   Module not found: Error: Can't resolve '@uiw/react-markdown-preview' in '/home/gun2rin/www/camel-karavan/karavan-web/karavan-app/src/main/webui/src/project/readme'
   ```
   
   I tried the following
   
   ```bash
   cd karavan-app/src/main/webui
   npm install @uiw/react-markdown-preview
   ```
   
   And got the error:
   
   ```bash
   Cannot find module 'csstype'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
   ```
   
   So i  copied node_modules/csstype to node_modules/@types in karavan-core and  things got really good. 
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] React issues while building just fyi [camel-karavan]

Posted by "gun2rin (via GitHub)" <gi...@apache.org>.
gun2rin closed issue #1026: React issues while building just fyi
URL: https://github.com/apache/camel-karavan/issues/1026


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org