Ovidiu Cherecheș
Ovidiu Cherecheș
Hmm. So I'm starting to think flexibility might be better here. Less code to manage 👍 @chapati23 If you don't mind, can I see a screenshot of your app? I'm...
Nice. I'm a fan of the minimalist look, but I do like how you put a smiley in the intro! 😄
@stellarhoof Thanks for reporting these! What's the best way to check? I just ran `yarn --pnp` in the Cosmos repo root and it didn't complain.
These issues should be fixed in `v5.0.0-alpha.2` (presuming you're interested in Cosmos Next). But let me know if you have an answer to my previous question. I'd like to include...
Hmm, maybe I'm not grasping how pnp works, but here's an error I don't understand. > ERROR in /Users/ovidiu/Library/Caches/Yarn/v4/npm-react-cosmos-5.0.0-alpha.2-f4ccdad5b29e38ed61b443fe03a3b3f7e0c28201/node_modules/react-cosmos/dist/plugins/webpack/client/errorOverlay/reactErrorOverlay.js Module not found: Error: **Can't resolve 'react-error-overlay'** in '/Users/ovidiu/Library/Caches/Yarn/v4/npm-react-cosmos-5.0.0-alpha.2-f4ccdad5b29e38ed61b443fe03a3b3f7e0c28201/node_modules/react-cosmos/dist/plugins/webpack/client/errorOverlay' The `react-cosmos`...
tsc compilation is likely the issue. I would be happy to solve this issue but I'd also hate to complicate package compilation only for a Yarn feature... Subscribed to https://github.com/Microsoft/TypeScript/issues/18896...
@marco-silva0000 I'm working on migrating the monorepo to building using Babel instead of `tsc` (https://github.com/react-cosmos/react-cosmos/pull/983) and as a by product this issue with PnP might go away. I'm caught up...
@stellarhoof @marco-silva0000 I just published `[email protected]` with packages built using Babel. Can you please try again to see if the PNP issue still exists?
Good news! I've got Cosmos to work with Yarn PnP. For me, it was only about [configuring `pnp-webpack-plugin`](https://github.com/react-cosmos/pnp-example/blob/350d7f7687890c2d123dab7bb95a645c6a74338c/webpack.override.js). Check out the [php-example](https://github.com/react-cosmos/pnp-example). Can anyone else confirm this? I'm on `[email protected]`...
The weird part is that it requests `/dist/cosmos.userdeps.proxy.js`, when the actual file's path is `/dist/cosmos.userdeps.js`. Any ideea where `.proxy.js` comes from?