Nick Schaubeck
Nick Schaubeck
In your project directory... `rm -rf node_modules && npm install` Brute force but this works. This is caused by `react-color` loading up a different _copy_ of react when bundling. You...
This should work. ```javascript const devtoolsProtocolClient = await page.target().createCDPSession(); await devtoolsProtocolClient.send("Emulation.setEmitTouchEventsForMouse", { enabled: true }); ```
https://github.com/GoogleChrome/puppeteer/issues/2134#issuecomment-408221446 solution works for me (I have not tried code signing).
For an example of how this is handled in another popular and large JS library take a look at [https://github.com/facebook/react](https://github.com/facebook/react). The codebase is structured using the node style based module...