1

Node.js Tools for visual studio 2015 look very promising for node.js/typescript development in a team already using visual studio and azure. However, the known limitation of 260 characters in solution file path is getting into the way of using the Node Package Manager. I am just failing to build a very simple node/mongo api just because the modules filepaths get too long. Folks at microsoft let this problem open and send you here for troubleshooting. Any known work around?

Community
  • 1
  • 1
pabloelustondo
  • 2,196
  • 3
  • 19
  • 23

1 Answers1

0

For the moment I found an ugly looking answer that works using the module "flatten-packages".

while being in root folder:

> npm install - g flatten-packages
> flatten-packages

your npm dependencies will look horrible... a long list.. but it works.

More discussions here.

It will be great if somebody can find a better way.

pabloelustondo
  • 2,196
  • 3
  • 19
  • 23