Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have followed instructions using NextJS but library does not work #11

Open
martinsuhr opened this issue May 12, 2023 · 0 comments
Open

Comments

@martinsuhr
Copy link

So I have set up everything accordingly to specs using nextJS however seems like there is a dependency in the code somewhere that breaks the library:

Class extends value undefined is not a constructor or null
TypeError: Class extends value undefined is not a constructor or null at eval (webpack-internal:///./node_modules/three-stdlib/loaders/VOXLoader.js:176:67) at ./node_modules/three-stdlib/loaders/VOXLoader.js (http://localhost:3000/_next/static/chunks/node_modules_sarge_avatar-view_dist_avatar-view_esm_js.js:5637:1) at options.factory (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:713:31) at webpack_require (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:37:33) at fn (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:368:21) at eval (webpack-internal:///./node_modules/three-stdlib/index.js:836:81) at ./node_modules/three-stdlib/index.js (http://localhost:3000/_next/static/chunks/node_modules_sarge_avatar-view_dist_avatar-view_esm_js.js:4988:1) at options.factory (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:713:31) at webpack_require (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:37:33) at fn (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:368:21) at eval (webpack-internal:///./node_modules/@react-three/drei/web/Select.js:10:70) at ./node_modules/@react-three/drei/web/Select.js (http://localhost:3000/_next/static/chunks/node_modules_sarge_avatar-view_dist_avatar-view_esm_js.js:1272:1) at options.factory (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:713:31) at webpack_require (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:37:33) at fn (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:368:21) at eval (webpack-internal:///./node_modules/@react-three/drei/index.js:134:72) at ./node_modules/@react-three/drei/index.js (http://localhost:3000/_next/static/chunks/node_modules_sarge_avatar-view_dist_avatar-view_esm_js.js:1162:1) at options.factory (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:713:31) at webpack_require (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:37:33) at fn (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:368:21) at eval (webpack-internal:///./node_modules/@sarge/avatar-view/dist/avatar-view.esm.js:8:75) at ./node_modules/@sarge/avatar-view/dist/avatar-view.esm.js (http://localhost:3000/_next/static/chunks/node_modules_sarge_avatar-view_dist_avatar-view_esm_js.js:1305:1) at options.factory (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:713:31) at webpack_require (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:37:33) at Function.fn (http://localhost:3000/_next/static/chunks/webpack.js?ts=1683914189676:368:21)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant