BenniG82/vbus-to-homie

Installation Issues

Closed this issue · 1 comments

Thanks for your work on this. It would be great to have a way of reading Resol data and putting it straight into MQTT.

I'm having issues getting your project installed. It would be great to have some simple instructions before the bit about how to customise/configure.

What I did was:

  1. Cloned your repo: git clone https://github.com/BenniG82/vbus-to-homie
  2. npm install
  3. npx ts-node src/index.ts
  4. [FAIL]
  5. cd vbus-to-homie/
  6. npx ts-node src/index.ts
  7. [FAIL]
  8. cd src/
  9. npx ts-node src/index.ts
  10. [FAIL]

I think step 6 was the correct thing to do but I got:
`~/vbus-to-homie $ npx ts-node src/index.ts
npx: installed 14 in 3.309s
Cannot find module 'typescript'
Require stack:

  • /home/pi/.npm/_npx/7324/lib/node_modules/ts-node/dist/index.js
  • /home/pi/.npm/_npx/7324/lib/node_modules/ts-node/dist/repl.js
  • /home/pi/.npm/_npx/7324/lib/node_modules/ts-node/dist/bin.js`

Would you please help me with the install?

Assume dead repo.