-
Notifications
You must be signed in to change notification settings - Fork 33
fix: Add peer id str to mismatch error #273
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
Conversation
@dapplion Could you update test case expected error message^^ |
Really dislike tests like this, that check against specific string literals. Prone to breaking on updates and not much value add there. |
Cannot run tests locally, currently stuck building the library with
|
I cannot replicate that, have you tried deleting node_modules and package-lock.json? |
removing package-lock.json did not fix the issue, but removing node_modules did. Why? Can we please commit package-lock.json to all of our repos? The DX is terrible. We never have this types of issues in the Lodestar monorepo |
Not 100%, but I think because it prefers to use the local version instead of the latest one. Putting lockfiles in the repo would indeed resolve this problem for us but that could still happen to users of js-libp2p-noise in case some other package they use depends on a specific version that we find acceptable even though it isn't. |
In specific case, it cannot happen to the user as this is dev dependecy^^ Would be nice if there would be support to lockfile dev dependency only^^ |
BEGIN_COMMIT_OVERRIDE
fix: Add peer id str to mismatch error
END_COMMIT_OVERRIDE