GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — `vp up -g` skips all global packages with EBADDEVENGINES when run inside a project with `devEngines.packageManager: pnpm` · Issue #2437 · voidzero-dev/vite-plus Milestone DescriptionDescribe the bug
As a result every global package version check fails, each one is skipped with a warning, and …while updates are actually available. Running the exact same command from a directory without a This is the same failure class as #1893 ( vite-plus/crates/vp_global_cli/src/commands/global/mod.rs Lines 57 to 77 in 88873e1
Expected: the global update check should be independent of the project the shell happens to be in — e.g. run I don't intend to submit a PR for this. ReproductionNo repository needed — reproducible with a two-line Steps to reproducemkdir /tmp/repro && cd /tmp/repro cat > package.json <<'EOF' { "name": "repro", "devEngines": { "packageManager": { "name": "pnpm", "version": "11.17.0", "onFail": "download" } } } EOF vp add -g wrangler # any global package, installed at a non-latest version or not vp up -g Every global package prints System Info$> vp env current Environment: Version 24.19.0 Source lts Tool Paths: node /Users/carl/.vite-plus/js_runtime/node/24.19.0/bin/node npm /Users/carl/.vite-plus/js_runtime/node/24.19.0/bin/npm npx /Users/carl/.vite-plus/js_runtime/node/24.19.0/bin/npx $> vp --version vp v0.2.9 Local vite-plus: vite-plus Not found Environment: Package manager Not found Node.js v24.19.0 OS: macOS 26 (arm64) Used Package Managerpnpm Logs$> vp up -g # run inside a project with devEngines.packageManager = pnpm warn: npm view failed for @larksuite/cli: npm error code EBADDEVENGINES; skipping warn: npm view failed for cf: npm error code EBADDEVENGINES; skipping warn: npm view failed for pm2: npm error code EBADDEVENGINES; skipping warn: npm view failed for skills: npm error code EBADDEVENGINES; skipping warn: npm view failed for wrangler: npm error code EBADDEVENGINES; skipping All global packages are up to date # what npm itself says when invoked from that directory: $> npm view wrangler version npm error EBADDEVENGINES The developer of this package has specified the following through devEngines npm error EBADDEVENGINES Invalid devEngines.packageManager npm error EBADDEVENGINES Invalid name "pnpm" does not match "npm" for "packageManager" npm error EBADDEVENGINES { npm error EBADDEVENGINES current: { name: 'npm', version: '11.17.0' }, npm error EBADDEVENGINES required: { name: 'pnpm', version: '11.17.0', onFail: 'download' } npm error EBADDEVENGINES } # same command from $HOME immediately afterwards: $> cd ~ && vp up -g info: Updating 2 global packages with Node.js 24.19.0 ✓ Updated @larksuite/cli to 1.0.86 ✓ Updated wrangler to 4.122.0 Validations
Reacted by JongKyung Lee Activity
MetadataMetadataAssigneesLabelsNo labels TypeFieldsPriority None yet Effort None yet Target date None yet Start date None yet ProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |