Skip to content

Regenerate package-lock.json to remove malformed @vibium/* stubs#115

Open
paulsmith wants to merge 1 commit into
VibiumDev:mainfrom
paulsmith:push-spmyqloxpvsu
Open

Regenerate package-lock.json to remove malformed @vibium/* stubs#115
paulsmith wants to merge 1 commit into
VibiumDev:mainfrom
paulsmith:push-spmyqloxpvsu

Conversation

@paulsmith

Copy link
Copy Markdown
Collaborator

The lockfile contained 5 entries under packages/vibium/node_modules/@vibium/* with only {"optional": true} — no version, resolved, or integrity. These had been carried forward across version bumps that hand-edited version strings instead of running make set-version.

On a fresh npm install, arborist's dedupe step called semver.gte("") on the empty version field and crashed with TypeError: Invalid Version:, breaking make deps and every target that depends on it.

Regenerated by deleting the file and running npm install. The 5 platform packages now hoist to top-level node_modules/@vibium/* with full version/resolved/integrity, matching what make set-version produces.

Fixes #114

The lockfile contained 5 entries under packages/vibium/node_modules/@vibium/*
with only {"optional": true} — no version, resolved, or integrity. These had
been carried forward across version bumps that hand-edited version strings
instead of running `make set-version`.

On a fresh `npm install`, arborist's dedupe step called semver.gte("") on the
empty version field and crashed with `TypeError: Invalid Version:`, breaking
`make deps` and every target that depends on it.

Regenerated by deleting the file and running `npm install`. The 5 platform
packages now hoist to top-level node_modules/@vibium/* with full
version/resolved/integrity, matching what `make set-version` produces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make failing on fresh clone on darwin-arm64

1 participant