Swagger does not work with local links when installed locally

I am new to swagger.

I installed Swagger on an Ubuntu 14.04 server two times and always get the same error "Uncaught TypeError: Cannot read property 'map' of undefined"in Chrome and "TypeError: async is undefined async.map(_.keys(remoteRefs), function (refPtr, callback)"Firefox when I use $refin any document, including examples.

All other functions work fine, the problem only reproduces when I try to use any link

  • My node version: v0.10.38
  • Npm versiton: 1.4.28
  • Latest Swagger Version
+4
source share

All Articles