Closed JoelDigbeu closed 5 months ago
I just ran into this when using npx to generate the project (i.e. npx nx g @nx/expo:app test-app
) but then tried generating without npx (pnpm nx g @nx/expo:app test-app
) and now the expo app is building just fine.
@WarrenBuffering thx a lot for saving my life lol
I am also having this issue but its only happening when i try running nx commands from within a target
"serve-with-env": { "executor": "nx:run-commands", "options": { "commands": [ { "command": "./runEnv.sh" }, { "command": "nx serve frontend" } ], "parallel": false, "cwd": "apps/frontend/" } },
Hi, still no update on this issue?
Happens sporadically for me pnpm nx reset
fixes it locally but not for the CI
The error can be fixed by updating all webpack.config.js
and webpack.config.ts
accordingly (depending on the project configurations you have).
copy the contents of each webpack.config.ts
and extend as needed.
withNx
function in the webpack config with the required tsConfig
path optionimport { join } from 'path';
....
withNx({
tsConfig: join(__dirname, 'tsconfig.app.json'),
}),
project.json
files with those out of the new repo, specifically the build
and serve
targetswebpack.config.js
files if you've got apps that use the @nx/webpack:webpack or @nx/js:node
pluginNotes:
options.tsConfig
is occasionally undefined
.Hello! I've been investigating this problem; we have both React and Next.js applications, and the Next.js applications fail in CI. I've managed to replicate it locally with Docker, and I'm not sure if it's related to this:
By setting "useDaemonProcess": false in nx.json, I've made it also fail locally. However, with "useDaemonProcess": true in CI, I haven't been able to get it to work.
Thank you for bringing this issue to our attention! I want to assure you that I will take a look as soon as I can. Your patience and understanding in this matter is greatly appreciated.
Hi all, there seems to be a mix of different issues being reported here.
Node/Nest/Express projects do not currently support Inferred Tasks with Project Crystal. That was the original issue here. As it is not a supported feature, at least yet, I'm going to close this issue.
If others are still experiencing issues with React + Next, please open a new issue with a reproduction to allow us to investigate further.
Thank you!
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
I get the following error when i try to build my app using nx/webpack locally and in my Github Action jobs:
Inner Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at validateString (node:internal/validators:162:11) at Object.join (node:path:1175:7)
Unable to create nodes for apps/gateway/webpack.config.js using plugin @nx/webpack/plugin.
Expected Behavior
I expect a successful build in order to complete my github action job using
@nx-tools/nx-container:build
GitHub Repo
No response
Steps to Reproduce
project.json
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response