Closed GalenMurdock closed 1 year ago
I repeated the steps on another machine, and I think I mistakenly stopped the node.js chocolatey script too soon on my first machine (i thought a warning/error was the end of the PowerShell script). This time on the second machine I just let it sit there for 5+ min and the PowerShell script eventually succeeded.
Then, the first time I ran npx creat-toolpad-app dog-app i got a notice recommending i upgrade from npm 10.1.0 -> 10.2.3, then it errored out saying 'no such file or directory, lstat 'c:\Users\galen\AppData\Roaming\npm'. I then upgraded npm and everything worked fine.
Now going to my original machine, uninstalling node (and chocolately) so I can try this again.
Yeah, my bad. I shoulda been more patient. Waiting (5+ min) at a time when the install seemed to be hung was the trick. Thanks!
Duplicates
Latest version
Steps to reproduce 🕹
Steps:
Follow instructions on https://mui.com/toolpad/getting-started/first-app/
Fresh install of node.js and dependencies (per link). NOTE: i hadn't installed yarn yet on this box, so i got a 'yarn' not recognized error at first. I uninstalled node and reinstalled node, same result. After I installed yarn (npm install --global yarn) i got past that.
Create a new application, such as: npx create-toolpad-app dog-app npx create-toolpad-app test123
Current behavior 😯
The script stalls on 749/750 as follows:
then after several retries (maybe 3-4 minutes' worth), times out with the error:
Funny thing is, the link https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.16.tgz resolves just fine and immediately downloads in Chrome.
Here's the yarn-error.log:
Expected behavior 🤔
That the script would work without errors. :)
Context 🔦
Trying to test out Toolpad for the first time by following the instructions on https://mui.com/toolpad/getting-started/first-app/
Your environment 🌎
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. C:\Users\galen\Dev\MuiToolpad>npx @mui/envinfo npx: installed 2 in 3.616s System: OS: Windows 11 10.0.22621 Binaries: Node: 20.9.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: Not Found Edge: Chromium (119.0.2151.44) C:\Users\galen\Dev\MuiToolpad> ```npx @mui/envinfo