create-single-spa
create-single-spa copied to clipboard
Error detecting the selected package manager (yarn)
Describe the bug or question
When I run npx create-single-spa
and I select "yarn" when asked which package manager I want to use I get this warning message: "Error detecting the package manager. Falling back to npm."
Expected behavior The selected package manager (yarn) should be used instead of falling back to npm
To Reproduce
C:\Users\xxx> npx create-single-spa
? Directory for new project .
? Select type to generate single-spa root config
? Which package manager do you want to use? yarn
? Will this project use Typescript? Yes
? Would you like to use single-spa Layout Engine Yes
? Organization name (can use letters, numbers, dash or underscore) xxx
Initialized empty Git repository in C:/Users/xxx/.git/
Initialized git repository
create package.json
create babel.config.json
create .gitignore
create .husky\pre-commit
create .eslintrc
create .prettierignore
create webpack.config.js
create tsconfig.json
create src\xxx-root-config.ts
create src\index.ejs
create src\microfrontend-layout.html
create src\declarations.d.ts
Changes to package.json were detected.
Error detecting the package manager. Falling back to npm.
Running npm install for you to install the required dependencies.
Additional context
- Powershell
- Windows 10
- Yarn 1.22.19
- Node 16.17.0
- Npm 8.17.0