Could not load background.js
Opened this issue · 7 comments
HELLO!
I've just downloaded your amazing code but i cant seem to get the the extension to work? i get the error *see title"
I'm trying to learn to make my own bot so any additional help you could provide would be greatly appreciated. More than happy to donate once i can get this working.
Thanks in advance, hopefully see you soon, bro
P.S. background.js is not in the files that i have downloaded either
Hey! thanks for the support :)
Have you tried to follow the instructions for the development here?
After you do a yarn watch
it should create a build
directory which contains the builded code of the extension :)
im probably making a very silly mistake but i get this:
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Lockfile not saved, no dependencies.
Done in 0.06s.
It doesn’t seem to have any errors, is this the output after you did « yarn watch »?
this was after yarn
yarn watch produces this...
C:\Users\tevin>yarn watch
yarn run v1.3.2
error Couldn't find a package.json file in "C:\Users\tevin"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
You need to execute « yarn » and « yarn watch » in the same folder as the bot