Building Babylon ES6 package and linking with TS project

Heya, based on the “Link a public project to an external one” section of the documentation I ran the below commands to build the Babylon core ES6 package and use it in my own project. When I run my project it works great but an issue is that WebStorm now flags my imports with the TS error: “Cannot find module… or its corresponding type declarations.” Is there an additional step missing to fix this? Thanks! :slight_smile:

From Babylon directory:

npx nx build core
npm run prepublishOnly -w @babylonjs/core
sudo npm link -w @babylonjs/core

From my project directory:
npm link @babylonjs/core

Ooh never mind the solution is just more patience LOL: the errors all went away after several minutes. :slight_smile: :beers:

1 Like