Closed rootkit7628 closed 2 years ago
Hey! :wave: @rootkit7628
Thanks for your report!
node:
Imports has been added since Node.js v16.0.0 for require
.
Make sure you have the right Node.js version or open an issue on Node.js repo.
I also have Node.js v16.13.2 installed and have no issues.
Closing as this a non issue for leon-cli
.
Please reopen if you think this is a mistake.
Node version : 16.13.2 Npm version : 8.4.0
Steps To Reproduce
npm install -g @leon-ai/cli
leon create birth
The current behavior
The expected behavior
Cause: The bug seems to be related by putting
node
when importing module likerequire("node:path")
When I remove allnode:
in module leon-ai folders the installation worked perfectly