chrisrabe / bitburner-automation

Automation scripts I use for my Bitburner gameplay videos.
125 stars 40 forks source link

Running auto-deploy.js #30

Open Gamer9-50 opened 1 year ago

Gamer9-50 commented 1 year ago

When i try to run it it pops up an error saying: "Failed to resolve module specifier "./utils.js". Invalid relative url or base scheme isn't hierarchical. stack: TypeError: Failed to resolve module specifier "./utils.js". Invalid relative url or base scheme isn't hierarchical." I don't know what to do cause all I did was copy and paste

rfsjim commented 1 year ago

Can you confirm where you are trying to run this script?

auto-deploy.js takes one argument that is required - the name of the target server to hack for example ensure that you are running this on the home server by typing home first run auto-deploy.js n00dles

This will then locate machines to run the script on, deploy hacks to those machines (if required), and copy and run the virus.