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

installing fixed version of protobufjs #13

Merged
merged 6 commits into from Jun 25, 2020
Merged

installing fixed version of protobufjs #13

merged 6 commits into from Jun 25, 2020

Conversation

meganrm
Copy link
Contributor

@meganrm meganrm commented Jun 25, 2020

Pull request recommendations:

  • Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
  • Link to any relevant issue in the PR description. Ex: Resolves [gh-##], adds tiff file format support
  • Provide description and context of changes.
  • Provide relevant tests for your feature or bug fix.
  • Provide or update documentation for any feature added by your pull request.

Thanks for contributing!

This error "Error: not supported" was being thrown by a dependency of a dependency, protobufjs. This error has been fixed in protobufjs, but not in a stable release yet.
The issue is isNode check is failing.
protobufjs/protobuf.js#1221

In order to make sure every package is using the new version, I used npm shrinkwrap after I edited the package-lock.json
https://nodejs.org/en/blog/npm/managing-node-js-dependencies-with-shrinkwrap/

@@ -98,7 +98,7 @@ class MainPlotContainer extends React.Component<MainPlotContainerProps> {
this.renderPopover = this.renderPopover.bind(this);
}

public componentWillMount() {
public componentDidMount() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this related?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once I got past the .gradlew test error, it errored out on ./gradlew lint. This used to be a warning, but now it's an error because they've deprecated componentWillMount. So it's technically a change to get the build to pass

@meganrm meganrm merged commit 7b15a14 into master Jun 25, 2020
@meganrm meganrm deleted the fix/dep-error branch June 25, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants