Solved: NPM linking error

I’ve ran gulp npmPackages-es6 in the past and it worked seamlessly. In my other project I just ran npm link @babylonjs/core and it brought in my custom babylonjs. Perfect! I haven’t ran that in a few months and it would seem something has changed.

I’m getting this odd error now:

Attempted import error: 'VertexBuffer' is not exported from '@babylonjs/core/Meshes' (imported as 'r')

I guess my next step is to look at the source being linked and then the gulp task itself. Just checking if anybody had it working recently. Thanks.

edit - I think this may just be a change from 4.2 to 5.0 for imports…

edit2: It’s moved to /Buffer/buffer ( Add support for storage buffers · BabylonJS/Babylon.js@ba125da (github.com))

1 Like

Marking as resolved :slight_smile: