Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error detecting the selected package manager (yarn) #369

Open
emiliemarchand opened this issue Jan 6, 2023 · 0 comments
Open

Error detecting the selected package manager (yarn) #369

emiliemarchand opened this issue Jan 6, 2023 · 0 comments

Comments

@emiliemarchand
Copy link

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
@emiliemarchand emiliemarchand changed the title Error detecting the specifed package manager (yarn) Error detecting the selected package manager (yarn) Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant