Skip to content

Commit 06dd083

Browse files
cooperkafacebook-github-bot
authored andcommitted
Fix suggestion to "npm start -- --reset-cache"
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
1 parent 09b8ef4 commit 06dd083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packager/src/node-haste/DependencyGraph/ResolutionRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class ResolutionRequest {
391391
`To resolve try the following:\n` +
392392
` 1. Clear watchman watches: \`watchman watch-del-all\`.\n` +
393393
` 2. Delete the \`node_modules\` folder: \`rm -rf node_modules && npm install\`.\n` +
394-
' 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start --reset-cache`.'
394+
' 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`.'
395395
);
396396
});
397397
});

0 commit comments

Comments
 (0)