You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run build target of newly generated @nx/next app, the CLI complains about usage of NX_ prefixed env variable (although we're not setting such on the user end).
The CLI should not notify users if they do not use any NX_ prefixed libraries
GitHub Repo
No response
Steps to Reproduce
Generate new @nx/next app
Run build target
Nx Report
> NX Report complete - copy this into the issue template
Node : 18.16.0
OS : linux-x64
npm : 9.5.1
nx (global) : 16.7.1
nx : 16.7.1
@nx/js : 16.8.0
@nx/jest : 16.7.1
@nx/linter : 16.7.1
@nx/workspace : 16.8.0
@nx/cypress : 16.8.0
@nx/devkit : 16.7.1
@nx/eslint-plugin : 16.7.1
@nx/next : 16.8.0
@nx/react : 16.8.0
@nrwl/tao : 16.7.1
@nx/web : 16.8.0
typescript : 5.1.6
---------------------------------------
The following packages should match the installed version of nx
- @nx/js@16.8.0
- @nrwl/js@16.8.0
- @nx/workspace@16.8.0
- @nrwl/workspace@16.8.0
- @nx/cypress@16.8.0
- @nrwl/cypress@16.8.0
- @nx/next@16.8.0
- @nrwl/next@16.8.0
- @nx/react@16.8.0
- @nrwl/react@16.8.0
- @nx/web@16.8.0
- @nrwl/web@16.8.0
To fix this, run `nx migrate nx@16.8.0`
Failure Logs
Warning, in Nx 18 environment variables starting with NX_ will not be available in the browser, and currently will not work with @nx/next:server executor.
Please rename the following environment variables: NX_NEXT_OUTPUT_PATH using Next.js' built-in support for environment variables. Reference https://nextjs.org/docs/pages/api-reference/next-config-js/env
Package Manager Version
npm - 9.5.1
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
When we run build target of newly generated
@nx/next
app, the CLI complains about usage ofNX_
prefixed env variable (although we're not setting such on the user end).Probably related PR - #18892
Expected Behavior
The CLI should not notify users if they do not use any
NX_
prefixed librariesGitHub Repo
No response
Steps to Reproduce
@nx/next
appbuild
targetNx Report
Failure Logs
Package Manager Version
npm - 9.5.1
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: