Closed SethTurin closed 1 year ago
This issue was happening because of an old version of Node. I updated Node and it works now.
Thanks for reporting. There's an open PR to lower the minimum Node.js version that should solve this exact error.
But the UX could be better. Unlike yarn
and pnpm
, it looks like npx
doesn't check compatibility with the engines
field. Perhaps we can add a quick check for node.js version in create-toolpad-app
? cc @bharatkashyap
Duplicates
Latest version
Steps to reproduce 🕹
Steps:
npx create-toolpad-app dog-app
Current behavior 😯
it exits with the error:
Cannot read properties of undefined (reading 'F_OK')
Expected behavior 🤔
I mean, I assume it should create an app or something. I didn't get very far so I don't really know.
Context 🔦
This was the very first thing I tried, and currently I'm just experimenting.
Your environment 🌎
It looks like the npx command installed version 0.1.13
I'm using Windows 11