DEV Community: Jatin Anand The latest articles on DEV Community by Jatin Anand (@jatin345anand). https://dev.to/jatin345anand https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1942880%2Fff9490cf-2d68-4108-b9cb-266e6e63e365.jpeg DEV Community: Jatin Anand https://dev.to/jatin345anand en How to use open source nodejs project's build or bundle in another nodejs project by importing? Jatin Anand Fri, 08 Nov 2024 08:01:27 +0000 https://dev.to/jatin345anand/how-to-use-open-source-nodejs-projects-build-or-bundle-in-another-nodejs-project-by-importing-2864 https://dev.to/jatin345anand/how-to-use-open-source-nodejs-projects-build-or-bundle-in-another-nodejs-project-by-importing-2864 <p>I have tried to make a package of an open-source nodejs project using the following command.</p> <p><code>npm pack</code><br> or<br> <code>npm pack</code></p> <p>After I got the tar file, I installed it by</p> <p><code>npm install tar_file_path</code></p> <p>After I used required api in another Nodejs project, it could not load or import properly. I am not able to launch or update the index.html file of the packaged folder.</p> <p>Please guide me or help me fix this problem.</p> <p>Thanks</p> node npm opensource webdev