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 pack` cannot find publint or attw when `vp` comes from a global npm install of vite-plus · Issue #2795 · voidzero-dev/vite-plus Closed as duplicate Closed as duplicate Copy link Labels DescriptionDescribe the bugDisclaimer: I formatted this report with an LLM. With publint is installed in the project. The npm package's This is a concrete case of what #2097 describes, with an error that sends you What I would like:
ReproductionNo URL, see below for reproduction steps. Steps to reproduceCreate the project: mkdir vp-global-repro && cd vp-global-repro && mkdir src cat > package.json <<'EOF' { "name": "vp-global-repro", "version": "0.0.0", "type": "module", "exports": "./dist/index.mjs", "scripts": { "build": "vp pack" }, "devDependencies": { "publint": "^0.3.24", "vite-plus": "1.0.0-rc.0" } } EOF cat > vite.config.ts <<'EOF' import { defineConfig } from "vite-plus"; export default defineConfig({ pack: { entry: "src/index.ts", publint: { level: "error" }, }, }); EOF echo 'export const answer = 42;' > src/index.ts npm install
System Info$ vp env current Node.js: Version 24.11.0 Source system PATH Bin Path /home/myuser/.local/share/zed/node/node-v24.11.0-linux-x64/bin/node Installed true Mode system_first Package Manager: Name npm Version 11.6.1 Source system PATH Bin Paths npm /home/myuser/.local/share/zed/node/node-v24.11.0-linux-x64/bin/npm npx /home/myuser/.local/share/zed/node/node-v24.11.0-linux-x64/bin/npx Installed true Mode system_first $ vp --version vp v1.0.0-rc.0 Local vite-plus: vite-plus v1.0.0-rc.0 Tools: vite v8.3.0 rolldown v1.2.9 vitest v5.0.1 oxfmt v0.70.0 oxlint v1.85.0 oxlint-tsgolint v7.0.2002 tsdown v0.23.0 Environment: Package manager npm default Node.js v24.21.0 Used Package Managernpm Logs$ /tmp/vp-npm-global/bin/vp pack ℹ entry: src/index.ts ℹ Build start ℹ Cleaning 1 files ℹ dist/index.mjs 0.07 kB │ gzip: 0.08 kB ℹ 1 files, total: 0.07 kB ✔ Build complete in 63ms error: Pack failed: Error: Failed to import module "publint". Please ensure it is installed. Validations
Activity
MetadataMetadataAssigneesLabelsTypeFieldsPriority 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. |