Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

oz link of non-Ethereum package errors with Cannot read property 'trim' of undefined #1458

Open
abcoathup opened this issue Feb 13, 2020 · 0 comments
Labels

Comments

@abcoathup
Copy link
Contributor

oz link of non-Ethereum package errors with Cannot read property 'trim' of undefined

A community member attempted to link OpenZeppelin Upgrades which is not an Ethereum package and received the error:

$ npx oz link @openzeppelin/upgrades
✓ Dependency @openzeppelin/upgrades installed
Cannot read property 'trim' of undefined

The error occurs for any non-Ethereum package:

$ npx oz link cowsay
✓ Dependency cowsay installed
Cannot read property 'trim' of undefined

For non-Ethereum packages we could show a warning that the package was installed but there was nothing to link.

Forum topic:
https://forum.openzeppelin.com/t/npx-oz-link-openzeppelin-upgrades-error-cannot-read-property-trim-of-undefined/2263

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant