browserify / wzrd.in

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

Flagrant system error loading a simple object #174

Open Mottie opened 6 years ago

Mottie commented 6 years ago

I have no problem loading https://wzrd.in/standalone/stylelint-config-standard@latest, which contains a module.export of a simple object.

But when I try to load a similarly simple object file https://wzrd.in/standalone/stylelint-config-recommended@latest, I get the flagrant system error shared below.

Both files have a similar structure:

Oddly, when I load the same files through unpkg, the file structure is different in that the "stylelint-config-standard" doesn't include the "use strict" at the beginning of the file, but the "stylelint-config-recommended" file does include it.

---FLAGRANT SYSTEM ERROR---

(logs uuid: 8d4bacb0-8d26-11e7-a26f-7bddb205e2dc )

Error: "npm exited with code 1"

code: 1
stdout: 
stderr: npm ERR! Linux 3.8.0-19-generic
npm ERR! argv "/usr/bin/nodejs" "/home/admin/browserify-cdn/node_modules/.bin/npm" "install" "--production" "--registry" "http://registry.npmjs.org/"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.11

npm ERR! Cannot read property 'stylelint' 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/stylelint-config-recommended117730-3766-marigy/node_modules/stylelint-config-recommended/npm-debug.log

dirPath: /tmp/stylelint-config-recommended117730-3766-marigy

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!
jfhbrook commented 6 years ago

as an aside, bonus points for a PR against the docker shit that adds support for collecting the debug log with outgoing payloads, christ

jfhbrook commented 6 years ago

ooc can you repro locally?