Visual studio crashes - to long paths in node_modules?

When open a newly created ionic project in visual studio (File>Open>Website) it works fine, But as soon as I’ve done npm install VS immediately crashes.

I think it is due to too long pathnames in node_modules. I’ve tried to fix this with flatten-packages but it didnt help :frowning: Any ideas how to fix this?

Ok, so it is because of the locally installed bower dependency. Do I really need it if I got bower installed globally?

You should be able to use the global version of bower with out any issues.

Yep. Maybe it should be removed as dependency in the starter packs? To avoid this problem

Well not everyone has bower install globally, so we include if for them. You could probably go ahead and remove for your own project