Home > Back-end >  HttpErrorResponse url: 'http://localhost:4400/iframe.html?viewMode=story&id=figurescomponent--p
HttpErrorResponse url: 'http://localhost:4400/iframe.html?viewMode=story&id=figurescomponent--p

Time:08-26

I am facing this error in my storybook but I don't know where it comes from :

Error

Anyone know how to solve it ? I can share my code if needed just tell me what you want to see.

CodePudding user response:

Seems like your application was waiting for a response as JSON, but has got a response as html.

CodePudding user response:

I found what my error was : When generating the stories of my feature I didn't do it the proper way. Here is the command : nx g @nrwl/angular:stories

  • Related