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
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
opencli ...Expected Behavior
install success.
OpenCLI Version
1.6.1
Node.js Version
22.x
Operating System
macOS
Logs / Screenshots