I recently published a package to NPM. The package works well on my own computer, where I wrote the code, but upon npm install on a coworkers machine, I start receiving errors.
What is the best way to go about installing and testing my package on my own computer? I could trace through the errors on my coworkers computer, but I assume there is a way I can do this on my own machine.
requirethe package if you do (just like an npm install).package.jsonto see if all needed modules are listed underdependencies. (Delete the node_modules folder, runnpm installand see what errors are given).npmrc, check what files/folders it lists to make sure it's not excluding important files from NPM.module.exportsobject, to be able to access the objects/functionsIf this all didn't help, it might be a more specific problem and a GitHub link would help us more