Currently we have errors like this because peerDependencies are not installed:
---FLAGRANT SYSTEM ERROR---
--- error #0: ---
(logs uuid: a38dd810-e8ef-11e8-aaab-07d2929b7bb5 )
Error: "browserify exited with code 1"
code: 1
stderr: Error: Cannot find module 'react' from '/tmp/react-dom1181015-279-1woer41.gqqh/node_modules/react-dom/cjs'
at /home/nowuser/src/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
at process (/home/nowuser/src/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
at ondir (/home/nowuser/src/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
at load (/home/nowuser/src/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/home/nowuser/src/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at /home/nowuser/src/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:152:21)
dirPath: /tmp/react-dom1181015-279-1woer41.gqqh
------
This is probably an issue with the package, and not browserify-cdn itself.
If you feel differently, feel free to file a bug report at:
https://github.com/browserify/wzrd.in/issues
Include the ENTIRETY of the contents of this message, and the maintainer(s)
can try to help you out.
Have a nice day!
There was a thread about this several years ago (https://github.com/browserify/wzrd.in/issues/73) however I would like to start new discussion to think what we can do with current setup.
As far as I know:
/multi
bundles every dependency separatelyCurrently we have errors like this because
peerDependencies
are not installed:Example CURL request: