johanneskropf / node-red-contrib-personal-wake-word

A node-red integration for https://github.com/mathquis/node-personal-wakeword
Apache License 2.0
1 stars 0 forks source link

No such file or directory #2

Open Sean-Amor opened 3 years ago

Sean-Amor commented 3 years ago

pi@raspberrypi:~ $ npm i node-red-contrib-personal-wake-word npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field.

8 packages are looking for funding

Sean-Amor commented 3 years ago

Also I don’t quite understand the side panel you refer to for using this, nothing really happens after I install this in the terminal. Maybe it’s because of this error?

johanneskropf commented 3 years ago

Why don't you install from the palette manager inside nodered? If you want to install from the terminal you have to install it in the folder that nodered is located in. If you have used the normal install script for raspberry pi you should run npm uninstall node-red-contrib-personal-wake-word in your home folder to remove the module at the location you installed it right now which is wrong and than change folder with cd .node-red as this is where node-red is installed by default and than run the npm install node-red-contrib-personal-wake-word there. Don't forget to restart nodered after this step if you install directly from npm.