I have tried to make a package of an open-source nodejs project using the following command.
npm pack
or
npm pack
After I got the tar file, I installed it by
npm install tar_file_path
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.
Please guide me or help me fix this problem.
Thanks
Top comments (0)