Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why can't I build from source? #2

Open
archibaldh opened this issue May 15, 2022 · 5 comments
Open

Why can't I build from source? #2

archibaldh opened this issue May 15, 2022 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@archibaldh
Copy link

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?

@insomnia-creator
Copy link
Owner

Please tell the steps you executed in detail.

Include details such as Operating System, etc.

@insomnia-creator insomnia-creator self-assigned this May 15, 2022
@insomnia-creator insomnia-creator added the question Further information is requested label May 15, 2022
@Crilum
Copy link

Crilum commented May 21, 2022

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 mathjs@10.5.3: 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..

@Crilum
Copy link

Crilum commented May 21, 2022

@archibowl You can install @insomnia-creator's prebuilt crx, for now.

@insomnia-creator
Copy link
Owner

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.

@Crilum
Copy link

Crilum commented May 21, 2022

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 called node_modules.

This was the problem. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants