9.0.4 has no dist directory
muxfe opened this issue Β· comments
π Bug Report
9.0.4 version has no dist directory, yarn install show errors:
Cannot find module '<...>/node_modules/immer/dist/index.js'. Please verify that the package.json has a valid "main" entry.
Link to repro
https://www.npmjs.com/package/immer/v/9.0.4
To Reproduce
yarn add immer
Observed behavior
package "main" entry is invalid
Expected behavior
has dist dir
Environment
We only accept bug reports against the latest Immer version.
- Immer version:
- I filed this report against the latest version of Immer
- Occurs with
setUseProxies(true)
- Occurs with
setUseProxies(false)
(ES5 only)
I believe my ticket #826 is pointing to the same underlying problem you point to.
duplicate, closing