whackage icon indicating copy to clipboard operation
whackage copied to clipboard

`whack link` blows away `node_modules/.bin`

Open aaroncraig10e opened this issue 8 years ago • 3 comments

On a clean install (create-react-native-app and then yarn run eject) the whack link command removes a slew of executables found in node_modules/.bin, including react-native so the whack run start command does not work.

Did I do something wrong?

npm: 5.5.1

aaroncraig10e avatar Nov 14 '17 20:11 aaroncraig10e

Thanks for reporting this! We just added NPM 5 support, might be an edge case we haven't hit yet. I'm still personally on NPM 4.

@jpdriver do you have time to check this out?

jevakallio avatar Nov 15 '17 01:11 jevakallio

Just to add more color, it also seems to be blowing away the contents of many modules under node_modules.

Happy to help debug if necessary.

aaroncraig10e avatar Nov 15 '17 17:11 aaroncraig10e

Note to self: I just managed to reproduce this issue with npm 5.3.0.

jevakallio avatar Jan 05 '18 11:01 jevakallio