-
Notifications
You must be signed in to change notification settings - Fork 20
Closed as not planned
Closed as not planned
Copy link
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Description
What happened?
If you look at the 4.1.1 version of the package, you can see dist-node, dist-src, dist-types, and dist-web.
However, only dist-node can be seen in 4.2.2 version.
However, package.json references it in the same way as v4.1.1
"source": "dist-src/index.js",
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js",
I am trying to refer to the @octokit/plugin-retry in the mjs environment and an error occurs because the package corresponding to the modules does not exist. Please let me know the reason.
Versions
@octokit/plugin-retry: v4.1.2
node.js: v16.19.0
OS: MacOS 13.2
Relevant log output
@parcel/resolver-default: Could not load './dist-web/index.js' from module '@octokit/plugin-retry' found in
package.json#module
/Users/hajunryu/Documents/dev/test/node_modules/@octokit/plugin-retry/package.json:13:13
12 | "main": "dist-node/index.js",
> 13 | "module": "dist-web/index.js",
> | ^^^^^^^^^^^^^^^^^^^ './dist-web/index.js' does not exist, did you mean './dist-node/index.js'?'
14 | "pika": true,
15 | "sideEffects": false,Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
✅ Done

