You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion: test the dist-web before publishing to skypack?
Versions
Octokit latest version from skypack => core v5.0.0 according to the log
I use this in a Firefox 115.0 on windows 10. Reproduced on Chrome and Edge-chrome-stuff.
Relevant log output
In the console, I receive this warning:
[Package Error] "@octokit/[email protected]" could not be built. (Imported by "@octokit/rest").
[1/5] Verifying package is valid…
[2/5] Installing dependencies from npm…
[3/5] Building package using esinstall…
Running esinstall...
Failed to load node_modules/@octokit/core/dist-web/index.js
Unexpected token (13:9) in @octokit/core/dist-web/index.js
Install failed.
Install failed.
and this error:
Uncaught Error: [Package Error] "@octokit/[email protected]" could not be built. (Imported by "@octokit/rest").
<anonymous> https://cdn.skypack.dev/error/build:@octokit/[email protected]?from=@octokit/rest:20
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
I use octokit by importing it like this:
import { Octokit } from "https://cdn.skypack.dev/@octokit/rest";
The script fail at building:
Unexpected token (13:9) in @octokit/core/dist-web/index.js
If I look at https://cdn.skypack.dev/error/build:@octokit/[email protected], the file is invalid.
Suggestion: test the dist-web before publishing to skypack?
Versions
Octokit latest version from skypack => core v5.0.0 according to the log
I use this in a Firefox 115.0 on windows 10. Reproduced on Chrome and Edge-chrome-stuff.
Relevant log output
and this error:
The text was updated successfully, but these errors were encountered: