-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
I'm trying to use the protobufjs for a script that turns a vpd into a json, but no matter what I do, I always get the error "Cannot find module 'protobufjs'". I've tried using all of the following in order to attempt to install protobufjs
- npm install protobufjs --save (followed by) npm install -g [email protected]
- npm install protobufjs
- npm install node-modules
- npm i protobufjs
- npm i [email protected]
- rm -rf node_modules (rm apparently doesn't exist, but was followed by) npm install
as well as trying to uninstall and reinstall node.js, uninstall and downgrade node.js, and reinstall node.js again along with protobufjs each time, in addition to trying to download the files off of Github manually, which doesn't seem to work since I can only find the entire source code zip file instead of what I assume is just a .js that I need. Throughout the entire thing, attempting to put just "protobufjs" or "node protobufjs" into the command prompt would say that no such command or file exists of that name. I've also ran fix --force commands whenever an install of either had issues, attempting to run the script I wanted to use both before and after.
I have tried everything I can think of, as well as everything the one person I know who knows anything about this can think of, and we've completely reached a dead end. I'm hoping the devs could give some insight on what else I could attempt to do, or at least let me know if I'm somehow cursed to only ever own machines that can never install protobufjs at any point ever, since I've had this same issue across two different Windows computers.