Function isDevelopment

Checks if the current environment is a Node.js development environment. Logs an error if the function is called outside of a Node.js environment.