# I’m new in BabylonJS, and following the tutorial I got this error in the console:

**URL:** <https://forum.babylonjs.com/t/i-m-new-in-babylonjs-and-following-the-tutorial-i-got-this-error-in-the-console/54684>\
**Category:** Questions\
**Created:** [November 11, 2024, 3:27am UTC](https://forum.babylonjs.com/t/i-m-new-in-babylonjs-and-following-the-tutorial-i-got-this-error-in-the-console/54684 "2024-11-11T03:27:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aimon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aimon/32/42576_2.png) [@Aimon](https://forum.babylonjs.com/u/Aimon)\
**Post date:** [November 11, 2024, 3:27am UTC](https://forum.babylonjs.com/t/i-m-new-in-babylonjs-and-following-the-tutorial-i-got-this-error-in-the-console/54684/1 "2024-11-11T03:27:44Z")

</div>

I encountered an error when installing @ babylonjs/inspector while using nuxt3.js  
[nuxt] [request error] [unhandled] [500] require() of ES Module D:\code\polybasic-project\nuxt\_demo\nuxt3-test\node\_modules@babylonjs\core\index.js from D:\code\polybasic-project\nuxt\_demo\nuxt3-test\node\_modules@babylonjs\inspector\dist\babylon.inspector.bundle.max.js not supported.  
Instead change the require of index.js in D:\code\polybasic-project\nuxt\_demo\nuxt3-test\node\_modules@babylonjs\inspector\dist\babylon.inspector.bundle.max.js to a dynamic import() which is available in all CommonJS modules.  
I tried to use dynamic import but it also got an error，Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘Debug’)

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [November 11, 2024, 4:11am UTC](https://forum.babylonjs.com/t/i-m-new-in-babylonjs-and-following-the-tutorial-i-got-this-error-in-the-console/54684/2 "2024-11-11T04:11:42Z")

</div>

Hello and welcome!

Try to use dynamic imports as here (uncomment)

> <https://github.com/RaananW/babylonjs-webpack-es6/blob/master/src/scenes/defaultWithTexture.ts#L31>

---

<div class="post-metadata">

**Author:** ![Aimon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aimon/32/42576_2.png) [@Aimon](https://forum.babylonjs.com/u/Aimon)\
**Post date:** [November 11, 2024, 12:47pm UTC](https://forum.babylonjs.com/t/i-m-new-in-babylonjs-and-following-the-tutorial-i-got-this-error-in-the-console/54684/4 "2024-11-11T12:47:05Z")

</div>

It has been resolved, thank you
