Closed george-grec closed 3 months ago
The issue was caused by an outdated node installation. Upgrading from v16.1.0 to the latest version v21.7.1 fixed it. For future readers, I also recommend using https://github.com/nvm-sh/nvm to manage node versions.
Hello, I am learning gleam and wanted to figure out how to make http calls in JS targets but the README example produces an error and I am not sure what to do. Here are my steps:
$ gleam new fetch
$ cd fetch
$ gleam add gleam_fetch
$ gleam run -t javascript
The result: