app-datepicker: cannot install on Windows

Description

Check issue title.

There are also some sh usages in this repo, you can use rimraf to remove files and folders.

Expected outcome

Dependencies should be installed

Actual outcome

node_modules/.pnpm/lit-ntml@3.0.6/node_modules/lit-ntml: Running postinstall script, failed in 17ms
.../lit-ntml@3.0.6/node_modules/lit-ntml postinstall$ bash postinstall.bash                        
│ "bash" no se reconoce como un comando interno o externo,
│ programa o archivo por lotes ejecutable.
└─ Failed in 17ms at D:\work\userquin\app-datepicker\node_modules\.pnpm\lit-ntml@3.0.6\node_modules\lit-ntml
 ELIFECYCLE  Command failed with exit code 1.

Live Demo

NA

Steps to reproduce

Run pnpm install on Windows OS

Browsers Affected

NA

About this issue

  • Original URL
  • State: open
  • Created 5 months ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

exports should be the definitive source for types exports

This is when using Node16 module resolution, if using “Node” or “Node10” the subpackages exports dts files should be present in the root directory of the package.

typesVersions has been used in the draft PR to avoid to copy those dts files (or create them in the root folder).

Check https://github.com/motss/app-datepicker/pull/223#issuecomment-1900101535