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

Can't parse should not imply removing package #88

Open
gabrielstuff opened this issue Nov 26, 2017 · 1 comment
Open

Can't parse should not imply removing package #88

gabrielstuff opened this issue Nov 26, 2017 · 1 comment

Comments

@gabrielstuff
Copy link

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

@siddharthkp
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants