Why can't I build from source?
I tried loading it through loading an unpacked extension in the chrome extension menu but this didn't work. Is there a reason for this and can it be fixed?
Please tell the steps you executed in detail.
Include details such as Operating System, etc.
I get this when trying to build the extention:
$ ./build.sh
yarn install v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying... # Ignore these
info There appears to be trouble with your network connection. Retrying... # Ignore these
error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 14". Got "12.22.5"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn run v1.22.15
$ vue-cli-service build
/bin/sh: 1: vue-cli-service: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
cp: cannot create regular file 'dist/': Not a directory
mv: cannot stat 'dist': No such file or directory
yarn run v1.22.15
$ crx3 pack extension -o Termst.crx
/bin/sh: 1: crx3: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Your extension is ready to be installed in Google Chrome! ✨
I'm running Raspberry Pi OS (based on Debian), on a Raspberry Pi 4.
I suggest adding some logic to your build script, like, if yarn install fails, exit the script..
@archibowl You can install @insomnia-creator's prebuilt crx, for now.
You can read what is written: info There appears to be trouble with your network connection. Retrying... # Ignore these info There appears to be trouble with your network connection. Retrying... # Ignore these
It probably hasn't installed the node_modules. Please check by seeing if there is a directory called node_modules.
You can read what is written:
info There appears to be trouble with your network connection. Retrying... # Ignore these info There appears to be trouble with your network connection. Retrying... # Ignore these
That doesn't matter, it just tries again.
It probably hasn't installed the
node_modules. Please check by seeing if there is a directory callednode_modules.
This was the problem. Thank you.