auto-install icon indicating copy to clipboard operation
auto-install copied to clipboard

Can't parse should not imply removing package

Open gabrielstuff opened this issue 8 years ago • 1 comments

Hi and thank you for this little tool. I was trying it and encounter an issue with the following message : Could not parse src/app.js. There is a syntax error in file

It's a bit weird that just after throwing this error, auto-install removes all depedencies in the package.json.

I was not expecting that.

Thanks

gabrielstuff avatar Nov 26 '17 21:11 gabrielstuff

That sounds terrible!

This can be solved by keeping a map of dependencies and files. My naive approach flattens that right now.

Would you like to submit a pull request?

siddharthkp avatar Nov 27 '17 15:11 siddharthkp