browserify / wzrd.in

browserify as a service.
http://wzrd.in
MIT License
637 stars 96 forks source link

requesting react-dom results in error #114

Closed voronianski closed 8 years ago

voronianski commented 8 years ago

Request to https://wzrd.in/standalone/react-dom@latest returns:

---FLAGRANT SYSTEM ERROR---

(logs uuid: c6f54610-c2cf-11e5-b38d-79d75dae7fb5 )

Error: "npm exited with code 1"

code: 1
stdout: 
stderr: npm ERR! Linux 3.8.0-19-generic
npm ERR! argv "node" "/home/admin/browserify-cdn/node_modules/.bin/npm" "install" "--production" "--registry" "http://registry.npmjs.org/"
npm ERR! node v0.10.26
npm ERR! npm  v2.14.15

npm ERR! Cannot read property 'react' of undefined
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/react-dom116024-5422-1e9jzcw/node_modules/react-dom/npm-debug.log

dirPath: /tmp/react-dom116024-5422-1e9jzcw

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/jfhbrook/browserify-cdn/issues

Include the ENTIRETY of the contents of this message, and the maintainer(s)
can try to help you out.

Have a nice day!
voronianski commented 8 years ago

@jfhbrook probably because it depends on React?

;(function(f) {
  // CommonJS
  if (typeof exports === "object" && typeof module !== "undefined") {
    module.exports = f(require('react'));
// ...
voronianski commented 8 years ago

@jfhbrook does it install peer dependencies while bundling?

voronianski commented 8 years ago

/cc @zeke @maxogden

voronianski commented 8 years ago

it's npm bug - https://github.com/npm/npm/issues/6581, related issue - https://github.com/facebook/react/issues/5918

ghost commented 8 years ago

Both issues closed, any next steps for wzrd.in? e.g. updates?