Why is embedded Stackblitz project unable to display preview pane?

1.7k views Asked by At

I am trying to embed Stackblitz projects in my Angular application. The embedded project editor pane displays correctly. But the preview pane doesn't display the preview. Instead, it shows an error as follows:

Error occurred:
Error: ENOENT: No such file or directory., '/~'

The preview pane displayed correctly once or twice but later on none of the embedded links were able to display the preview. Although, the project is working fine in stackblitz.com

I am using Chrome Version 100.0.4896.88 on Windows 10. Please help if there is any way to resolve this. I am getting error related to webcontainer as follows: enter image description here

1

There are 1 answers

0
Dhritiman Tamuli Saikia On BEST ANSWER

There was a bug in stackblitz which caused this error while embedding static html/css/js projects. But the bug was fixed recently by the stackblitz team. It's working fine now. Thanks to the stackblitz team. Happy coding!!