Contributions
swagger-editor gives Uncaught TypeError: SwaggerEditorBundle is not a function at window.onload
I am trying to use the swagger-editor repohttps://github.com/swagger-api/swagger-editor in my local system(windows).When i run npm start command things are working fine but as soon as i make a minor chnage in the components like changing clear editor text to clear editor1 and trying to build the files again using npm run build it is giving the errorUncaught TypeError: SwaggerEditorBundle is not a function at window.onload when I am accessing it using localhost:3001. Even if I dont make any change and run the command npm run dev , same issue is occuring, can someone please help in figuring out the resolution for this and how we can do the same if we have to change something?436Views0likes1Comment