curlconverter / curlconverter

Transpile curl commands into Python, JavaScript and 27 other languages
https://curlconverter.com
MIT License
7.17k stars 867 forks source link

Issue with curlconverter dependencies #644

Open JasmineLaiHua opened 2 months ago

JasmineLaiHua commented 2 months ago

Screenshot 2024-03-17 165931

I am trying to use curlconverter in my React application, but it seems not to be working. I have installed the latest version, which is 4.9.0, and the Node version is v18.16.0. Additionally, I have followed the error log and manually installed the web-tree-sitter library (https://www.npmjs.com/package/web-tree-sitter) and yamljs (https://www.npmjs.com/package/yamljs), but it still isn't working at all.

Has anyone succeeded in using the library in a React project?

J-Prajwal commented 1 month ago

This works only with backend. Try to create an api out of it.

image

Screenshot 2024-03-17 165931

I am trying to use curlconverter in my React application, but it seems not to be working. I have installed the latest version, which is 4.9.0, and the Node version is v18.16.0. Additionally, I have followed the error log and manually installed the web-tree-sitter library (https://www.npmjs.com/package/web-tree-sitter) and yamljs (https://www.npmjs.com/package/yamljs), but it still isn't working at all.

Has anyone succeeded in using the library in a React project?