Ironclad / Ironclad/rivet

[Bug]: Example Plugin fails to install.

Open
#217 9 comments 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.