cometchat-sample-app-react icon indicating copy to clipboard operation
cometchat-sample-app-react copied to clipboard

A line of code is not correct

Open Kanika637 opened this issue 2 years ago • 2 comments

Describe the problem

When I did the npm start after following all the instructions, I am getting this error Module not found: Can't resolve '../../cometchat-pro-react-ui-kit/CometChatWorkspace/src' in 'C:\Users\hp\desktop\javascript-react-chat-apavascript-react-chat-app\src\defaultPages\App'

What was the expected behavior?

The screen should display the sample react app The error is present in this file ./src/defaultPages/App/index.js

Kanika637 avatar Jun 07 '22 15:06 Kanika637

I think you need to clone this repository inside your project.

(Edited on Apr 5, 2024) Me to myself: What the hell were you saying, Ozair? XD

ozair-dev avatar Jun 18 '22 00:06 ozair-dev

I need your help to implement in my working reactjs project. i have already clone this code in my reactjs project at root. i have already node_modules in my project. do I need to aigan install npm?

sureshphyperlink avatar Dec 08 '23 10:12 sureshphyperlink

The issue appears to be with Windows OS only. The quick fix is to enable long file paths in Windows.

Alternatively, please try the latest v4 sample app.

ketanyekale avatar Apr 05 '24 10:04 ketanyekale