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
{{ message }}
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
Running wt commands works as expected. At this point of my example, I decide to split the files into different modules for maintainability. For this to happen, I will need to use webtask-bundle.
Unfortunately, when webask-bundle tries to do its thing, it creates a large bundle which exceeds the 100kb limit. The following error is thrown:
Uncaught error: Request body size exceeds 122880
Error: Payload Too Large
at Request.callback (/usr/local/lib/node_modules/wt-cli/node_modules/superagent/lib
/node/index.js:698:17)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/wt-cli/node_modules/sup
eragent/lib/node/index.js:922:12)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
The weird thing is, the demo just have about 40 lines of codes though it imports express, body-parser, mongoose and webtask-tools.