Base solution for your next web application
Open Closed

RAD Tool Renegerate Entity issue #5159


User avatar
0
kythor created

Hi,

I regenerated an existing Entity (made with the RAD tool). I needed to add a new navigation property. It all went fine, migration is done, but when I fire up the host app, swagger gives me an error:

Failed to load API definition

Fetch error
Internal Server Error /swagger/v1/swagger.json

visual studio output

The source map 'swagger-ui-bundle.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-bundle.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-standalone-preset.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-standalone-preset.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-bundle.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-bundle.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-standalone-preset.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-standalone-preset.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.Visual Studio does not support additional debuggers attached to a web-page when multi-client remote debugging support is enabled in Chrome. Visual Studio is disconnecting the JavaScript debugger because we detected that Chrome Dev Tools were opened for this page: chrome-devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a10b9cedb40738cb152f8148ddab4891df876959/&can_dock=true&hasOtherClients=true&dockSide=undocked

1 Answer(s)
  • User Avatar
    0
    yekalkan created

    See #4866@a31d2ced-0b20-46d9-ab40-715fee6a35e6

    And <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1004#issuecomment-378483859">https://github.com/aspnetzero/aspnet-ze ... -378483859</a>