aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
15.87k stars 554 forks source link

"No build tool detected" error on Windows + Volta #1043

Open rtabulov opened 1 month ago

rtabulov commented 1 month ago

What version of million are you using?

1.0.0-rc.12 i guess

Are you using an SSR adapter? If so, which one?

nope

What package manager are you using?

npm (volta)

What operating system are you using?

Windows

What browser are you using?

n/a

Describe the Bug

I am trying to install @million/lint into an existing project that uses webpack, and I get this error

$ npx @million/lint@latest
┌  ⚡ Million Lint 1.0.0-rc.12
│
◇  Please select the packages you want to install
│  Million, Million Lint
│
◇  wizard-no-build-tool-detected ──────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                      │
│  No build tool detected. No configuration file found in the current path: C:\Users\user\Desktop\icc\aikey_panel_web  │
│                                                                                                                      │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
│
└  Setup failed. Continue via http://million.dev/docs#manual-installation

│
◆  Please select your package manager.
│  ○ pnpm
│  ○ yarn
│  ○ bun
│  ● npm (Be sure you have npm installed.)
└

I am using volta as node/npm version manager

$ npm -v
10.7.0
$ node -v
v18.20.3

fails using git bash, cmd, powershell

What's the expected result?

npm installation detection

Link to Minimal Reproducible Example

cannot be reproduced on stackblitz

Participation

github-actions[bot] commented 1 month ago

Thanks for opening this issue! A maintainer will review it soon.