npx next start gives a standalone warning

Summary

When running the UI with the usual command npx next start, it outputs a warning that states:

"next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.

Is this a new feature?

  • Yes, this is a new feature
  • No, this is a change to existing functionality

Description of existing functionality

The ratings UI demo app is a node next.js application. We sometimes run it from command line with the npx next start -p 8080 command. After recent node and Next.js upgrades or after recent code changes, it started outputting this warning. The application runs fine, but shows the warning.

Investigate what is causing this warning. Does anything need to be done about it or should we just change how we start the application when running from command line?

Edited by Dimitrije Jankovic