react-razorpay icon indicating copy to clipboard operation
react-razorpay copied to clipboard

got warning while using react-razorpay in the project

Open Hxri72 opened this issue 2 years ago • 2 comments

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

Hxri72 avatar Apr 04 '23 03:04 Hxri72

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

harshiv49 avatar Jul 05 '23 08:07 harshiv49

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.

Madhu25666 avatar May 19 '24 01:05 Madhu25666