Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no matching package named `js` found #19295

Closed
paulrouget opened this issue Nov 20, 2017 · 3 comments
Closed

error: no matching package named `js` found #19295

paulrouget opened this issue Nov 20, 2017 · 3 comments

Comments

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Nov 20, 2017

When compiling Servo as a dependency, I get this error after copying Servo's Cargo.lock into my project:

error: no matching package named `js` found (required by `script`)
location searched: https://github.com/servo/rust-mozjs
version required: *
@paulrouget paulrouget changed the title error: no matching package named `js` found (required by `script`) error: no matching package named `js` found Nov 20, 2017
@CYBAI
Copy link
Collaborator

@CYBAI CYBAI commented Nov 20, 2017

I think crate js should have been renamed to mozjs after #19138 merged?

@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Nov 20, 2017

Problem was on my side. Please ignore.

@paulrouget paulrouget closed this Nov 20, 2017
@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Nov 20, 2017

For the record: I was using a Cargo.lock from a version of Servo that was more recent that the one I was referencing in my Cargo.toml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.