Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with nx project #11219

Open
PauloMadro opened this issue Mar 3, 2024 · 0 comments
Open

Error with nx project #11219

PauloMadro opened this issue Mar 3, 2024 · 0 comments

Comments

@PauloMadro
Copy link

I'm getting this error with vite nx. Just upgraded to latest nx 18.0.6

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
--
22:34:06.962 | at new NodeError (node:internal/errors:405:5)
22:34:06.962 | at validateString (node:internal/validators:162:11)
22:34:06.962 | at join (node:path:1171:7)
22:34:06.962 | at validateTypes (/vercel/path0/node_modules/@nx/vite/src/utils/executor-utils.js:29:38)
22:34:06.962 | at viteBuildExecutor (/vercel/path0/node_modules/@nx/vite/src/executors/build/build.impl.js:57:48)
22:34:06.962 | at async getLastValueFromAsyncIterableIterator (/vercel/path0/node_modules/nx/src/utils/async-iterator.js:13:19)
22:34:06.962 | at async iteratorToProcessStatusCode (/vercel/path0/node_modules/nx/src/command-line/run/run.js:43:29)
22:34:06.962 | at async handleErrors (/vercel/path0/node_modules/nx/src/utils/params.js:9:16)
22:34:06.962 | at async process.<anonymous> (/vercel/path0/node_modules/nx/bin/run-executor.js:59:28)

Prod Building on local works fine.
Locally I removed cache, node modules, reinstalled everything but it's not reproducible.
Node 18.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant