weiran-zsd / dts-cli

Zero-config CLI for TypeScript package development
MIT License
442 stars 23 forks source link

npx dts-cli create doesn't complete Installing npm modules #177

Open mattmogford-alcumus opened 2 years ago

mattmogford-alcumus commented 2 years ago

Current Behavior

When running npx dts-cli create blah-project Then selecting react-with-storybook, the CLI will freeze indefinitely on the step Installing npm modules: It seems to create the project as shown in second screenshot, but because it didn't complete, it is a bit disconcerting. Which makes me not trust that everything is done and complete as it should be. There isn't a node_modules file Selecting templates Basic & React work correctly.

Screenshot 2022-11-15 at 10 32 12 Screenshot 2022-11-15 at 10 41 21

entering the project directory and running npm i provides this error.... Screenshot 2022-11-15 at 10 49 33

Expected behavior

CLI script completes displaying errors/or not

Suggested solution(s)

Additional context

Your environment

System:
    OS: macOS 12.3.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 3.47 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.12.1 - /usr/local/bin/node
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 107.0.5304.110
    Safari: 15.4
mattmogford-alcumus commented 2 years ago

Also, There are no devDependencies / dependencies within the resulting package.json