NODE_ENV=production npm run build failed

Just tried to set NODE_ENV=production and it still builds with development environment as you can see in the image attached.
image