wmr
wmr copied to clipboard
WMR build step partially install a npm package if error
Environments:
- macOS v11.1
- node v12.16.3
- npm v6.14.4
Reproduction steps:
$ npm init wmr my-demo
$ cd $_
$ rm -rf node_modules
$ npm install
$ npm run build # => error occurs (it looks to be the same problem #236)
$ ls node_modules/preact/src # => cannot find *.d.ts files
cjs.js constants.js diff render.js
clone-element.js create-context.js index.js util.js
component.js create-element.js options.js
preact must have published *.d.ts files, but cannot find them.
Sometimes the same steps install index.d.ts and no jsx.d.ts.
Thanks for reporting this!