pibakery icon indicating copy to clipboard operation
pibakery copied to clipboard

Error in the running the program

Open luisfegomezPE opened this issue 5 years ago • 7 comments

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.

luisfegomezPE avatar Aug 10 '20 00:08 luisfegomezPE

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

jmkebalo avatar May 04 '21 16:05 jmkebalo

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

tbandtg avatar May 12 '21 19:05 tbandtg

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?

jmkebalo avatar May 13 '21 07:05 jmkebalo

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

tbandtg avatar May 13 '21 13:05 tbandtg

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

RPICtrl avatar May 13 '21 13:05 RPICtrl

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.

jmkebalo avatar May 14 '21 11:05 jmkebalo

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.

cllackey avatar May 17 '21 22:05 cllackey