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

Fix typo in ResolutionRequest.js #11983

Closed
wants to merge 2 commits into from
Closed

Conversation

radko93
Copy link
Contributor

@radko93 radko93 commented Jan 19, 2017

Small fix:
Fix typo in error message - should be npm start --reset-cache

Fix:
Fix typo in error message - should be `npm start --reset-cache`
@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jan 19, 2017
@facebook-github-bot facebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Jan 20, 2017
@facebook-github-bot
Copy link
Contributor

@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@radko93 radko93 deleted the patch-1 branch January 21, 2017 12:33
cpojer pushed a commit to facebook/metro that referenced this pull request Jan 26, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook/react-native#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
edmofro pushed a commit to edmofro/react-native that referenced this pull request Feb 6, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 7, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
normanjoyner pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
nicktate pushed a commit to nicktate/react-native that referenced this pull request Feb 9, 2017
Summary:
Small fix:
Fix typo in error message - should be `npm start --reset-cache`
Closes facebook#11983

Reviewed By: AsyncDBConnMarkedDownDBException

Differential Revision: D4443749

Pulled By: hramos

fbshipit-source-id: eeaa531180c58a85df482fe3162b2a0b2169c891
@cooperka
Copy link
Contributor

cooperka commented Mar 15, 2017

Hi @radko93, this doesn't work for me without the double dash. I thought the -- was necessary to pass the --reset-cache flag through to node node_modules/react-native/local-cli/cli.js start instead of applying it to npm start. Is it possibly project dependent?

@radko93
Copy link
Contributor Author

radko93 commented Mar 17, 2017

It could be related to npm or node version.

@cooperka
Copy link
Contributor

Hmm, based on the comments here it looks like using the double dash is much more common. I honestly don't know how it would work without it, since npm doesn't understand that flag and it needs to be passed through.

Do you think we should open an issue, or how should this be resolved? If it truly works for you without the double dash, something very weird is going on 😕

@radko93 I'm on node v7.7.1, npm v4.1.2, and RN v0.42.0, what about you?

@hramos
Copy link
Contributor

hramos commented Mar 17, 2017

@cooperka I merged this in and I'm willing to look at a PR to revert this if it turns out to be inaccurate.

cooperka added a commit to cooperka/react-native that referenced this pull request Mar 17, 2017
As discussed in facebook#11983. The double dash is necessary to pass through the argument to node. Based on the comments [here](facebook#1924 (comment)), it looks like most people use the double dash; it's unclear whether it would do anything at all if the dashes were omitted. If anyone else has better insight, let me know!

@hramos please review, thank you.

This reverts commit f521e99.
cooperka added a commit to cooperka/react-native that referenced this pull request Mar 18, 2017
As discussed in facebook#11983. The double dash is necessary to pass through the argument to node. Based on the comments [here](facebook#1924 (comment)), it looks like most people use the double dash; it's unclear whether it would do anything at all if the dashes were omitted. If anyone else has better insight, let me know!

@hramos please review, thank you.

This reverts commit f521e99.
facebook-github-bot pushed a commit to facebook/metro that referenced this pull request Mar 18, 2017
Summary:
As discussed in facebook/react-native#11983. The double dash is necessary to pass through the argument to node. Based on the comments [here](facebook/react-native#1924 (comment)), it looks like most people use the double dash; it's unclear whether it would do anything at all if the dashes were omitted. If anyone else has better insight, let me know!
Closes facebook/react-native#13003

Differential Revision: D4731566

Pulled By: hramos

fbshipit-source-id: 62562536db7589a03a511762117cbf0e36d3aafb
facebook-github-bot pushed a commit that referenced this pull request Mar 18, 2017
Summary:
As discussed in #11983. The double dash is necessary to pass through the argument to node. Based on the comments [here](#1924 (comment)), it looks like most people use the double dash; it's unclear whether it would do anything at all if the dashes were omitted. If anyone else has better insight, let me know!
Closes #13003

Differential Revision: D4731566

Pulled By: hramos

fbshipit-source-id: 62562536db7589a03a511762117cbf0e36d3aafb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants