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

Add note on node.js versions on Ubuntu #14

Open
wants to merge 1 commit into
base: revamp
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions HOWTO-Test-Locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ but the file will probably be too large to fit on an ESP32's local flash filesys
A single alternative language might fit. For example, you could add German support
with `gulp package --lang de`

### Ubuntu

Some versions of Ubuntu (e.g. 22.04) bundle a very old version of Node.js. If you get an error like:

```bash
$ gulp package --lang en
SyntaxError: Unexpected token '?'
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
```

then you should install a newer version of Node. You can do this by following
[Node's instructions for using NVM](https://nodejs.org/en/download/package-manager).

## Testing

You can upload index.html.gz to a FluidNC ESP32 machine and run it
Expand Down