react-snap
react-snap copied to clipboard
pageerror at /: SyntaxError: Unexpected token '.'
pageerror at /: SyntaxError: Unexpected token '.'
at Object../node_modules/usehooks-ts/dist/esm/useEventListener/useEventListener.js (http://localhost:45678/main.js:14103:1)
at webpack_require (http://localhost:45678/main.js:19980:42)
at eval (webpack://frontend/./node_modules/usehooks-ts/dist/esm/useEventListener/index.js?:5:75)
at Module../node_modules/usehooks-ts/dist/esm/useEventListener/index.js (http://localhost:45678/main.js:14092:1)
at webpack_require (http://localhost:45678/main.js:19980:42)
at eval (webpack://frontend/./node_modules/usehooks-ts/dist/esm/useClickAnyWhere/useClickAnyWhere.js?:5:75)
at Module../node_modules/usehooks-ts/dist/esm/useClickAnyWhere/useClickAnyWhere.js (http://localhost:45678/main.js:13927:1)
at webpack_require (http://localhost:45678/main.js:19980:42)
at eval (webpack://frontend/./node_modules/usehooks-ts/dist/esm/useClickAnyWhere/index.js?:5:75)
✅ crawled 1 out of 1 (/)
i am getting this error while running npm run postbuild
Hi @aakashpgandhi I am getting a similar error. Have you been able to resolve it?
Hey @aakashpgandhi @chrismadufor everything was working fine for me for the last year until today that I started getting this error, without any changes to the node version & packages 🤷🏽♂️ Did you find any solution?
same issue here with vite
Hi! Having this error in a React project on a Mac, but it runs just fine in another React project on a Windows. I already checked the dependencies, the code itself, syntax errors, and I found nothing. Any insight on this?
Thanks!
I'm seeing pageerror at /: SyntaxError: Unexpected token '?
' on my react project (With vite & typescript)
same one
react-snap
🔥 pageerror at /: SyntaxError: Unexpected token '?'
✅ crawled 1 out of 1 (/)
any solution
same here