-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Bug]: cannot find undici when install plugin. #722
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
here is my package.json of my plugin.
{
"name": "opencli-plugin-codehub",
"version": "1.0.1",
"type": "module",
"peerDependencies": {
"@jackwener/opencli": ">=1.0.0"
},
"dependencies": {
"undici": "^7.0.0"
},
"devDependencies": {
"@types/node": "^25.5.0",
"typescript": "^6.0.2"
}
}
when I install plugin
Plugin codehub/commands.js: Cannot find package 'undici' imported from /Users/xxxxxx/.opencli/monorepos/opencli-plugins-app-team/packages/codehub/codehub.js
Steps to Reproduce
- Run
opencli ... - ...
- See error
Expected Behavior
install success.
OpenCLI Version
1.6.1
Node.js Version
22.x
Operating System
macOS
Logs / Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working