Open PMLS3 opened 2 years ago
Can you try the latest version and reopen it if the issue still persists? Thanks!
Manually changing the highlighted import to 'debug'
in the production bundle solves the problem. No idea why this happens though (importing the debug
library from the wrong place).
issue persist
same issue
I am using Google Cloud run when deploying my site. The plugin works 100 in development but getting the following build error.
TypeError: debug_1.Debug.extend is not a function at Object. (/usr/src/app/.output/server/node_modules/http-proxy-middleware/dist/plugins/default/debug-proxy-errors-plugin.js:5:29)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/usr/src/app/.output/server/node_modules/http-proxy-middleware/dist/plugins/default/index.js:17:14)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
In my docker file I expose port 8080, not sure if the could be the reason? ERROR: (gcloud.run.services.update) Cloud Run error: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.