I am trying to figure out how to show preview feature through repl.it NOT through codesandbox, but it seems it keeps spitting errors.
<CH.Spotlight preset="https://replit.com/@donghhan/matrix#main.py" start={1}>
### 1
```py main.py
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[5, 6], [7, 8]])
print(A)
print(B)
2
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[5, 6], [7, 8]])
print(A * B)
</CH.Spotlight>
Error that I got:
Error compiling /Users/apensia/dev/apensia-nextra-devblog/pages/ai/basics-of-linear-algebra.ko.mdx
FetchError: invalid json response body at https://codesandbox.io/api/v1/sandboxes/han/matrix#main.py/sandpack reason: Unexpected token S in JSON at position 0
error - ./pages/ai/basics-of-linear-algebra.ko.mdx
FetchError: invalid json response body at https://codesandbox.io/api/v1/sandboxes/han/matrix#main.py/sandpack reason: Unexpected token S in JSON at position 0
at runMicrotasks (<anonymous>)
I am trying to figure out how to show preview feature through repl.it NOT through codesandbox, but it seems it keeps spitting errors.
2
</CH.Spotlight>
Error that I got: