node-csgo icon indicating copy to clipboard operation
node-csgo copied to clipboard

Dependency issues when installing from source: "Could not install from ... as it does not contain a package.json file"

Open codsec opened this issue 4 years ago • 1 comments

image how can i install it correctly?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

codsec avatar Aug 03 '20 01:08 codsec

normally you should just install via npm: npm install csgo

it looks like you're trying to install from source though which should be painless. it looks like a dep got updated upstream though which is making it harder. a lazy workaround would be to rm package-lock.json from your node-csgo-master directory and then do the npm install.

with that being said, a proper fix would be to update the dependencies in package.json so that there's no dependency issues. will keep this issue open to track that problem.

joshuaferrara avatar Jan 10 '21 18:01 joshuaferrara