How to create workspace using neutrinos CLI

I tried to create a workspace using neutrinos CLI

AzureAD+AswinB@IN-NEU-BL-L0450 MINGW64 /d/Custom component
$ neutrinos new datafabric-table
file:///C:/Program%20Files/nvm/v20.19.3/node_modules/neutrinos-cli/commands/select-packages.mjs:3
import { existsSync, globSync, readFileSync } from ‘node:fs’;
^^^^^^^^
SyntaxError: The requested module ‘node:fs’ does not provide an export named ‘globSync’
at ModuleJob._instantiate (node:internal/modules/esm/module_job:175:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:258:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:540:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Node.js v20.19.3

getting this error. Any idea why this happens ?

1 Like

🚨 Alpha CLI Deprecation Notice @doomedCode

1 Like

I’m using the new command here instead of older commands

I have used the neutrinos new instead of ( alpha new ) which is deprecated

1 Like

It was a node version issue. Changed to 22 from 20 and it worked

1 Like