Hi , I have a two file as i attached , I am a basic programer , when i run npm run dev in my terminal i see the error as below :
can anyone please help me
thanks in advanced
info - Linting and checking validity of types
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
[ ] info - Generating static pages (0/4)TypeError: Class constructor SceneInit cannot be invoked without ‘new’
Error occurred prerendering page “/lib/SceneInit”. Read more: prerender-error | Next.js
TypeError: Class constructor SceneInit cannot be invoked without ‘new’
Build error occurred
Error: Export encountered errors on following paths:
/lib/SceneInit