You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have same problem with Docker, could not able to create a bin. Get the below error. I have tried updated docker file with node version but no use ( followed this #62)
ReferenceError: Promise is not defined
at validator (/usr/src/app/node_modules/har-validator/lib/promise.js:42:14)
at Object.response (/usr/src/app/node_modules/har-validator/lib/promise.js:110:10)
at Object.module.exports (/usr/src/app/lib/routes/bins/create.js:46:12)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
at IncomingMessage. (/usr/src/app/lib/middleware/body-parser.js:52:9)
at IncomingMessage.emit (events.js:92:17)
at _stream_readable.js:944:16
at process._tickCallback (node.js:458:13)
The text was updated successfully, but these errors were encountered:
This is still an issue with the latest Dockerfile on the main branch. brianlow/mockbin does seem to be performant. There are some PRs that address this, but are pending merge. At the very least, maybe we can upgrade to use the latest node in the Dockerfile.
I have same problem with Docker, could not able to create a bin. Get the below error. I have tried updated docker file with node version but no use ( followed this #62)
ReferenceError: Promise is not defined
at validator (/usr/src/app/node_modules/har-validator/lib/promise.js:42:14)
at Object.response (/usr/src/app/node_modules/har-validator/lib/promise.js:110:10)
at Object.module.exports (/usr/src/app/lib/routes/bins/create.js:46:12)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
at IncomingMessage. (/usr/src/app/lib/middleware/body-parser.js:52:9)
at IncomingMessage.emit (events.js:92:17)
at _stream_readable.js:944:16
at process._tickCallback (node.js:458:13)
The text was updated successfully, but these errors were encountered: