Node-particle-editor import error:

with version 9.8.0 importing and using the there is :

Error: Error during dependency optimization:
X [ERROR] Could not resolve “@babylonjs/core::BABYLON.Debug”
node_modules/@babylonjs/node-particle-editor/dist/babylon.nodeParticleEditor.js:1:145:
1 │ …rials"),require(“@babylonjs/core::BABYLON.Debug”)):“function”==t…

cause:

!function(e,t){“object”==typeof exports&&“undefined”!=typeof module?t(exports,require(“@babylonjs/core”),require(“@babylonjs/materials”),require(“@babylonjs/core::BABYLON.Debug”))

working:

!function(e,t){“object”==typeof exports&&“undefined”!=typeof module?t(exports,require(“@babylonjs/core”),require(“@babylonjs/materials”),require(“@babylonjs/core”))

i hope this helps

thanks, I will try to reproduce and fix it. Is this new to 9.8.0, or was it already an issue in 9.7.0?

issue found and will be resolved very soon. I will release a new version with a fix once it’s merged.

thanks, solved.