bet4it / hyperinator

Layout automation plugin for Hyper. Inspired by tmuxinator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fresh install returns `Cannot find module 'debug'`

exetico opened this issue · comments

Hi

I've just installed hyperinator for Hyper, but it's returning the following error while I'm trying to test my file default.yml:

 ~  hyperinator load default                                                                                            2022-01-28T15:03:37 UTC
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'debug'
Require stack:
- /usr/lib/node_modules/hyperinator/bin/hyperinator
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/usr/lib/node_modules/hyperinator/bin/hyperinator:7:15)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/usr/lib/node_modules/hyperinator/bin/hyperinator' ]
}

Node.js v17.2.0

Here's my file:

 !  ~  cat ~/.hyperinator/default.yml                                                                                  2022-01-28T15:03:43 UTC
windows:
- layout: 5162,237x48,0,0{118x48,0,0,152,118x48,119,0,153}
  panes:
  - echo 'First pane'
  - echo 'Second pane'

I've tried to follow the guide, but sadly with no luck.

commented

I just publish a new version of hyperinator, could you reinstall it and try again?