a11ywatch / rust-to-npm

Rust to npm
https://crates.io/crates/rust-to-npm
MIT License
32 stars 4 forks source link

crate doesn't exist? #8

Closed JimLynchCodes closed 1 year ago

JimLynchCodes commented 1 year ago

I run npm i rust-to-npm-cli -g but it doesn't seem to work...

Instead it fails with this error:

Installing and compiling rust-to-npm-cli 0.4.10  ...

Error: Command failed: cargo install rust-to-npm-cli --vers 0.4.10 
    Updating crates.io index
error: could not find `rust-to-npm-cli` in registry `crates-io` with version `=0.4.10`

    at ChildProcess.exithandler (child_process.js:383:12)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1088:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) {
  killed: false,
  code: 101,
  signal: null,
  cmd: 'cargo install rust-to-npm-cli --vers 0.4.10 '
}
JimLynchCodes commented 1 year ago

it seems to be looking for a crate called "rust-to-npm-cli" which doens't exist at all on crates.io Screen Shot 2023-05-17 at 1 25 37 AM

j-mendez commented 1 year ago

@JimLynchCodes thank you, published now https://crates.io/crates/rust-to-npm-cli. We moved the crate from https://crates.io/crates/rust-to-npm/0.4.9 which prior was the CLI and split the rust crate with the CLI.