Skip to content

publish: error: Invalid package specifier 'npm:three@>=0.139.0/src/core/Object3D.js' #963

@trusktr

Description

@trusktr

I am trying to publish to JSR for the first time. I added jsr.json and ran npx jsr publish and got this:

❯ npx jsr publish
Need to install the following packages:
jsr@0.13.3
Ok to proceed? (y) y
Downloading JSR release binary...
[00:01] [#################################################>] 39.8 MiB/40.3 MiB
error: Invalid package specifier 'npm:three@>=0.139.0/src/core/Object3D.js'
    0: Invalid specifier version requirement
    1: Unexpected character.
         >=0.139.0
         ~
    at file:///Users/trusktr/src/lume+lume.2/dist/core/Object3DWithPivot.js:2:26
Child process exited with: 1

The three dependency in question is listed here:

https://github.com/lume/lume/blob/f7274c122964e145a0f265da63530b16361ee539/package.json#L86-L100

What to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    publishingProblems with publishing

    Type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions