You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
emiliemarchand
changed the title
Error detecting the specifed package manager (yarn)
Error detecting the selected package manager (yarn)
Jan 6, 2023
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
Additional context
The text was updated successfully, but these errors were encountered: