Skip to content
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

got warning while using react-razorpay in the project #5

Open
Hxri72 opened this issue Apr 4, 2023 · 2 comments
Open

got warning while using react-razorpay in the project #5

Hxri72 opened this issue Apr 4, 2023 · 2 comments

Comments

@Hxri72
Copy link

Hxri72 commented Apr 4, 2023

Failed to parse source map from 'F:\Brototype\Week 18\Cineawe\client\node_modules\react-razorpay\src\index.ts' file: Error: ENOENT: no such file or directory, open 'F:\Brototype\Week 18\Cineawe\client\node_modules\react-razorpay\src\index.ts'

this was the warning showing in the vs code terminal. i reinstalled the npm package and the react-razorpay again but the issue persist so how can i get out from it?

Regards
Hariprasad

@harshiv49
Copy link

I am not sure if that is leading to a problem while using it tho since I ran into a similar error but if you really wanna get rid of the error you could change the folder structure by searching the particular node module react-razorpay in our case and change the dist folder to src and index.d.ts to index.ts

@Madhu25666
Copy link

Madhu25666 commented May 19, 2024

Very annoying warning...it takes up the entire console

After renaming the folder from dist to src and index.d.ts to index.ts.. should we add src in package.json or let it be as it is ?

"files": [
"dist/"
],

I tried renaming as harshiv49 suggested but warning persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants