Skip to content

hub/landing: Error: Cannot find module 'png' #4478

Open
@haraldschilly

Description

@haraldschilly

clearly something I'll fix. not sure what's going on here, though.

relevant must be this request

2020-03-30T06:25:42.244Z hub:landing:cache MISS on key=/doc/../assets/cocalc-jupyter2-20170508.png
Mon, 30 Mar 2020 06:25:42 GMT express:view require "png"
2020-03-30T06:25:42.250Z - ESC[34mdebugESC[39m: BUG UNHANDLED REJECTION *********************************************************
2020-03-30T06:25:42.254Z - ESC[34mdebugESC[39m: Unhandled Rejection at: Promise {
  <rejected> { Error: Cannot find module 'png'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
      at Function.Module._load (internal/modules/cjs/loader.js:562:25)
      at Module.require (internal/modules/cjs/loader.js:692:17)
      at require (internal/modules/cjs/helpers.js:25:18)
      at new View (/cocalc/src/node_modules/express/lib/view.js:81:14)
      at Function.render (/cocalc/src/node_modules/express/lib/application.js:570:12)
      at ServerResponse.render (/cocalc/src/node_modules/express/lib/response.js:1012:7)
      at ServerResponse.res.render (/landing/node_modules/express-minify-html/minifier.js:81:14)
      at LandingServer.<anonymous> (/landing/landing.ts:370:28)
      at step (/landing/landing.ts:45:23)
      at Object.next (/landing/landing.ts:26:53)
      at fulfilled (/landing/landing.ts:17:58)
      at process._tickCallback (internal/process/next_tick.js:68:7)
   code: 'MODULE_NOT_FOUND' } } reason: message=Cannot find module 'png', stack=Error: Cannot find module 'png'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at new View (/cocalc/src/node_modules/express/lib/view.js:81:14)
    at Function.render (/cocalc/src/node_modules/express/lib/application.js:570:12)
    at ServerResponse.render (/cocalc/src/node_modules/express/lib/response.js:1012:7)
    at ServerResponse.res.render (/landing/node_modules/express-minify-html/minifier.js:81:14)
    at LandingServer.<anonymous> (/landing/landing.ts:370:28)
    at step (/landing/landing.ts:45:23)
    at Object.next (/landing/landing.ts:26:53)
    at fulfilled (/landing/landing.ts:17:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
, code=MODULE_NOT_FOUND
2020-03-30T06:25:42.255Z - ESC[34mdebugESC[39m: BUG UNHANDLED REJECTION *********************************************************

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions