+ 4
no NodeJS is server side so alerts wont work. try console.log("Hi Doggy!"); and you'll get console output from terminal or cmd, whatever youre using. And idk if there are plugins for alerts, but i doubt it since node js shouldnt run on the client.
9th Apr 2018, 10:03 PM
ć€Œļ¼Øļ¼”ļ¼°ļ¼°ļ¼¹ 3O ļ¼Øļ¼„ļ¼¬ļ¼°ć€
ć€Œļ¼Øļ¼”ļ¼°ļ¼°ļ¼¹ 3O ļ¼Øļ¼„ļ¼¬ļ¼°ć€ - avatar
+ 4
The alert() works only on browsers. It belongs to window object. When there's no graphical interface in nodejs there's no way how something like alert box could be done. Nodejs runs in your command line. But you can use it with html and javascript
9th Apr 2018, 10:01 PM
Toni Isotalo
Toni Isotalo - avatar
+ 4
talentless_guy No problem!
9th Apr 2018, 10:07 PM
ć€Œļ¼Øļ¼”ļ¼°ļ¼°ļ¼¹ 3O ļ¼Øļ¼„ļ¼¬ļ¼°ć€
ć€Œļ¼Øļ¼”ļ¼°ļ¼°ļ¼¹ 3O ļ¼Øļ¼„ļ¼¬ļ¼°ć€ - avatar