Cannot read properties of null (reading 'style')
Hi everyone, I'm using this lib in nextjs , how can I fix this error ?

Thanks all
can you post the code, we can help much without knowing what you have made in code
import { ARCanvas, ARMarker } from "@artcom/react-three-arjs" import { Canvas } from '@react-three/fiber' import { useState } from 'react' export default function ARHiro() { const [isShow, setShow] = useState
(false) const onClickImage = () => { setShow(true) alert("CLICKED ME!") } return <ARCanvas camera={{ position: [0, 0, 0] }} dpr={0.5} onCreated={({ gl }: any) => { gl.setSize(250, 250) }}
can you post the code, we can help much without knowing what you have made in code
this code only error when I started project with my IP's for host ( yarn dev -H a.b.c.d
That's odd, your code is working fine on codesandbox
https://joukod.csb.app/
That's odd, your code is working fine on codesandbox
https://joukod.csb.app/
Maybe some conflict in my config , thanks for your help >__<
I had the same issue. Hosting the app using https fixed the problem for me.