Create-babylonjs CLI scaffolder

Hello everyone, I hope you all had a great Easter! I noticed a recent commit includes a way to scaffold a new project using npm create babylonjs. I tried this out, but am getting npm error 127. Has anyone given this a shot and gotten the error?

I appreciate your help!

The issue is not with Windows or the command itself. The published npm package create-babylonjs@9.0.0 appears to be broken.

npm create babylonjs resolves to npx create-babylonjs, and npm correctly finds the package. However, the package metadata says its executable is dist/index.js, while the actual published tarball contains only package.json and readme.md and does not include the dist/ folder at all. Because of that, npm cannot run the CLI, and Windows reports:

'create-babylonjs' is not recognized as an internal or external command

I believe this will be fixed soon.

@RaananW

1 Like

Thank you for taking a look @labris! Also, thank you for the starter template you maintain. Its gone a long way to getting me up to speed.

1 Like

this should be resolved very soon. will keep you updated.

3 Likes

the new package is up and running

3 Likes