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

Error in the running the program #189

Open
luisfegomezPE opened this issue Aug 10, 2020 · 7 comments
Open

Error in the running the program #189

luisfegomezPE opened this issue Aug 10, 2020 · 7 comments

Comments

@luisfegomezPE
Copy link

imagen

I have follow all the steps to install pibakery, but in the last step I recived this message. How can I solve this?

thanks.

@jmkebalo
Copy link

jmkebalo commented May 4, 2021

Hello,
I'm not mastering npm, but it seems the module semver was not install.
check on node_modules folder.
If any semserver, delete it, and run npm install again.

I had the issue with electron, it works for me

@tbandtg
Copy link

tbandtg commented May 12, 2021

Yeah deleting it did not seem to work. It is in there and gets replaced but I get an error when running.

@jmkebalo
Copy link

I'm not sure to understand: If you delete it, where is it?
You should really remove manually the folder so it's not there anymore, and run the install again. It will download again, hopefully in a more proper way.

Can you share the error?

@tbandtg
Copy link

tbandtg commented May 13, 2021

image
Here is the error I get, I think it is downloading a new version of semver that is no longer compatable.

@RPICtrl
Copy link

RPICtrl commented May 13, 2021

I Think it connects to pibakery.org and the site is Down.

@jmkebalo
Copy link

There is an issue while providing a version to the semver module.
I'm so not an expert on this part... I just put a quick (ugly) fix by hardcoding a version on the file node_modules/semver/server.js :
image

It seems to work. But there is other issue to detect SD card... So I switch to Ansible to configure my rasp when the OS is installed.
Not a custom image but conf is deployed easily once the SSH keys are set.

@cllackey
Copy link

cllackey commented May 17, 2021

I'm using PiBakery v2 and this is a quick fix I found to the SD card error. In the main PiBakery project folder, go to resources/app/main.js and comment out line 104 which has this:
electron.app.dock.hide()
I was able to write to my SD card with no errors and nothing wonky happened.

Edit: I will note that I couldn't boot my Pi after writing to the SD card but I have no way to confirm whether the issue was related to the afore mentioned change, if my img file was bad, if PiBakery v2 is faulty, etc.

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

No branches or pull requests

5 participants