oliverfoster / adapt-buildkit-rub

Command line Native BuildKit (alternative to gulp and grunt)
5 stars 1 forks source link

Adapt-devtools's Open Course Map breaks rub develop #34

Closed samumist closed 8 years ago

samumist commented 8 years ago

rub develop breaks with the following error message when clicking the open course map button on the adapt-devtools.

No such problem with grunt or rub.

Version v0.1.15
/Volumes/Data/playground/adapt/demo/buildkit/plugins/buildkit-plugin-server/js/index.js:103
                var mimeType = this._mimeTypesByExtension[path.extname(req.stat.filename).split(".")[1]];
                                                                               ^

TypeError: Cannot read property 'filename' of undefined
    at Plugin.next (/Volumes/Data/playground/adapt/demo/buildkit/plugins/buildkit-plugin-server/js/index.js:103:66)
    at /Volumes/Data/playground/adapt/demo/buildkit/plugins/buildkit-plugin-server/js/index.js:125:60
    at SendStream.error (/Volumes/Data/playground/adapt/demo/buildkit/node_modules/serve-static/index.js:117:9)
    at emitOne (events.js:77:13)
    at SendStream.emit (events.js:169:7)
    at SendStream.error (/Volumes/Data/playground/adapt/demo/buildkit/node_modules/serve-static/node_modules/send/index.js:275:17)
    at SendStream.headersAlreadySent (/Volumes/Data/playground/adapt/demo/buildkit/node_modules/serve-static/node_modules/send/index.js:363:8)
    at SendStream.send (/Volumes/Data/playground/adapt/demo/buildkit/node_modules/serve-static/node_modules/send/index.js:572:10)
    at onstat (/Volumes/Data/playground/adapt/demo/buildkit/node_modules/serve-static/node_modules/send/index.js:677:10)
    at FSReqWrap.oncomplete (fs.js:82:15)
oliverfoster commented 8 years ago

can you try again? have fixed

samumist commented 8 years ago

Thanks! Yes, it is fixed.