Thank you for your cooperation.
in the folder where Google-home-notifier is located
https://qiita.com/kyota/items/453047f236ca5488027c
I tried to run the first main.js with reference to .
Error: Cannot find module 'google-home-notifier'
The error occurred.
I want to run in the same folder as the folder where googe-home-notifier.js is located like this
I would appreciate it if you could tell me how to resolve the error if there is a file.
I think you are installing Google-home-notifier incorrectly.Instead of downloading Google-home-notifier.js, you must install it using npm
as described in the article.
Install Google-home-notifier using npm
by running the following command in the folder where main.js
is located:(The commands in the article seem to be slightly incorrect, so here are the correct commands.)
$npm init
$ npm i google-home-notifier
© 2024 OneMinuteCode. All rights reserved.