[Bug]: Example Plugin fails to install.
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 388
- PR merge metrics
- No merged PRs in 30d
Description
### What happened?
On Linux (Ubuntu), the Example Plugin fails to install.
### What was the expected functionality?
Does not fail.
### Describe your environment
Ubuntu 22.04.2 LTS on Windows Subsystem for Windows (WSL)
### Relevant log output
```shell
Installing...
Installing plugin: Example Plugin...
Checking for plugin updates: rivet-plugin-example@latest
Removing existing plugin: rivet-plugin-example@latest
Plugin not found locally or needs reinstall: rivet-plugin-example@latest, downloading from NPM...
Downloading plugin tarball from NPM: https://registry.npmjs.org/rivet-plugin-example/-/rivet-plugin-example-0.0.1.tgz
Downloaded plugin tarball from NPM: https://registry.npmjs.org/rivet-plugin-example/-/rivet-plugin-example-0.0.1.tgz
Installing NPM dependencies...
pkg/prelude/bootstrap.js:6
}
^
SyntaxError: Unexpected token '}'
at new Script (node:vm:102:7)
at readPrelude (node:internal/bootstrap/pkg:29:13)
at node:internal/bootstrap/pkg:36:18
at node:internal/bootstrap/pkg:43:4
at node:internal/bootstrap/pkg:44:2
Node.js v18.5.0
Error installing plugin: Error installing plugin dependencies: rivet-plugin-example@latest: pkg/prelude/bootstrap.js:6
}
^
SyntaxError: Unexpected token '}'
at new Script (node:vm:102:7)
at readPrelude (node:internal/bootstrap/pkg:29:13)
at node:internal/bootstrap/pkg:36:18
at node:internal/bootstrap/pkg:43:4
at node:internal/bootstrap/pkg:44:2
Node.js v18.5.0
```
### Relevant screenshots
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.