Skip to content

Instantly share code, notes, and snippets.

@mlongval
Created April 29, 2023 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlongval/170356ae6e08b7a6962adf6e9d7b5c2b to your computer and use it in GitHub Desktop.
Save mlongval/170356ae6e08b7a6962adf6e9d7b5c2b to your computer and use it in GitHub Desktop.
Fix compile problems for BBC Basic Owlet Editor
29.04.2023 13h25
I wanted to try and install mattgodbolt's cool BBC Basic
Owlet Editor on my system.
[https://github.com/mattgodbolt/owlet-editor]
Here is the blurb from the repository describing it:
Owlet Editor
A simple, intuitive creative coding tool for BBC BASIC
inspired by BBC Micro Bot
Try the beta now at bbcmic.ro and get coding!
A modern editor for a classic language
Fast, intuitive web-based editor (autocomplete,
highlighting)
Linked to 1000 BBC BASIC code examples from the bbcmicrobot
community
Based on Monaco editor
BBC Micro emulator for instant feedback
Integrated with JSbeeb emulator
Share your entire program as a URL
Export to external emulator for interactive use
This is what I had to do to get it to compile on
my system OpenSUSE MicroOs within a DistroBox OpenSUSE
Tumbleweed session.
- Download the git repository.
[https://github.com/mattgodbolt/owlet-editor]
- Type 'make run' as per docs.
- Got a whole butt-load of errors.
- Got this error as the first error in the log:
npm ERR! ERESOLVE could not resolve
- Dig around the Internets for a possible solution.
- Found this possible solution on StackOverflow.com:
[https://stackoverflow.com/questions/64573177/unable-to-resolve-dependency-tree-error-when-installing-npm-packages]
- Do this (inside the local repository - is that important
or not I don't know...)
npm config set legacy-peer-deps true
- Again: 'make run'
- Compiles some more but...
- Got this error:
Error: error:0308010C:digital envelope routines::unsupported
- Found this possible solution on StackOverflow.com:
[https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported]
- Do this:
npm audit fix --force
- Again: 'make run'
- Now it works on my system, and has not crashed (so far)
- Cheers from Canada!
Mike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment