Closed developerasun closed 2 years ago
The "ReferenceError: alert is not defined" occurs when the alert() method is used outside of the browser environment, most commonly in Node.js. The alert method is a method on the window object, which is only available in the browser
Describe the bug alert method in Express app not working
To Reproduce Steps to reproduce the behavior:
Expected behavior Express app at localhost showing alert window
Screenshots
Additional context Add any other context about the problem here.
Labeling Add a proper label for the issue