question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publish new version to npm

See original GitHub issue

The version on npm (0.4.0) is crashing due to React.PropTypes.any code on ActionSheetProvider.js file.

This is weird because it was published 2 weeks ago and the fix in on master long before that.

But this is the content I’m getting on node_modules for the latest version:

import React from 'react';
import ActionSheet from './ActionSheet';

export default class ActionSheetProvider extends React.Component {
  static propTypes = {
    children: React.PropTypes.any,
  };

  static childContextTypes = {
    showActionSheetWithOptions: React.PropTypes.func,
  };

  getChildContext() {
    return {
      showActionSheetWithOptions: (...args) =>
        this._actionSheetRef.showActionSheetWithOptions(...args),
    };
  }

  render() {
    return (
      <ActionSheet ref={component => (this._actionSheetRef = component)}>
        {React.Children.only(this.props.children)}
      </ActionSheet>
    );
  }
}

simulator screen shot - iphone 8 - 2017-12-14 at 18 22 31

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:10
  • Comments:7

github_iconTop GitHub Comments

0reactions
eightyfivecommented, Feb 19, 2018

When will new version be published?? Thx.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating your published package version number - npm Docs
To change the version number in package.json , on the command line, in the package root directory, run the following command, replacing <update_type>...
Read more >
How to Publish an Updated Version of an npm Package
The easiest way to update your version number is to use the handy npm version command. This will automatically update the version number...
Read more >
How do I update an NPM module that I published?
To change the version number in package.json, on the command line, in the package root directory, run the following command, replacing < ...
Read more >
How to publish packages to npm (the way the industry does ...
Run tests (if there are any) · Update version in package.json according to Semver · Create a git tag according to Semver ·...
Read more >
Publishing a beta or alpha version to NPM | by Kevin Kreuzer
You can run npm version 3.1.0-beta.0 to update package.json and create a git tag in one go (see https://docs.npmjs.com ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found