yaronn / blessed-contrib

Build terminal dashboards using ascii/ansi art and javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashes with error in terminal

aknight2015 opened this issue · comments

I'm running this on the lastest release of Ubuntu, and when I type node ./examples/dashboard.js I get the following error with a program termination.

internal/modules/cjs/loader.js:818
throw err;
^

Error: Cannot find module 'node:process'
Require stack:

  • /home/aknight2015/Programs/blessed-contrib/node_modules/marked-terminal/index.cjs
  • /home/aknight2015/Programs/blessed-contrib/lib/widget/markdown.js
  • /home/aknight2015/Programs/blessed-contrib/index.js
  • /home/aknight2015/Programs/blessed-contrib/examples/dashboard.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object. (/home/aknight2015/Programs/blessed-contrib/node_modules/marked-terminal/index.cjs:3:17)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/aknight2015/Programs/blessed-contrib/node_modules/marked-terminal/index.cjs',
    '/home/aknight2015/Programs/blessed-contrib/lib/widget/markdown.js',
    '/home/aknight2015/Programs/blessed-contrib/index.js',
    '/home/aknight2015/Programs/blessed-contrib/examples/dashboard.js'
    ]
    }