stanford-oval / thingpedia-cli

Command-line tools to interact with Thingpedia
Apache License 2.0
1 stars 1 forks source link

spawn licejs ENOENT with init-project from CLI #32

Closed RyanOthnielKearns closed 3 years ago

RyanOthnielKearns commented 4 years ago

I ran yarn global add thingpedia-cli to install the tool. I then ran thingpedia --developer-key [my-developer-key] init-project --license BSD-3-Clause thingpedia-test and got the following error:

+ licejs '-o' 'Ryan Othniel Kearns <my-email@gmail.com>' '-p' 'thingpedia-test' '-y' '2020' 'bsd3'
Error: spawn licejs ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn licejs',
  path: 'licejs',
  spawnargs: [
    '-o',
    'Ryan Othniel Kearns <my-email@gmail.com>',
    '-p',
    'thingpedia-test',
    '-y',
    '2020',
    'bsd3'
  ]
}

Can also confirm that neither which licejs nor which lice-js returns any path.