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
Create electron app by nx g nx-electron:app app name:project-tool,directory:,web app name:client
Serve or build electron app by nx project-tool:serve
Error Output TypeError: Cannot read properties of undefined (reading 'projects') at getSourceRoot (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx-electron\src\utils\workspace.js:5:52) at executor (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx-electron\src\executors\build\executor.js:17:71) at runExecutorInternal (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\src\command-line\run\run.js:98:19) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\src\command-line\run\run.js:176:44 at async handleErrors (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\src\utils\handle-errors.js:8:24) at async process.<anonymous> (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\bin\run-executor.js:59:28)
Expected behavior
I am expecting to application run and build without error
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 11 23H2 22631.4317
nx-electron version: ^19.0.0
The text was updated successfully, but these errors were encountered:
Error Descripton
When i run the build or serve script, it is throws "Cannot read properties of undefined (reading 'projects')" error
To Reproduce
Steps to reproduce the behavior:
npx create-nx-workspace --preset=apps
nx add nx-electron
nx g nx-electron:app
app name:project-tool,directory:,web app name:clientnx project-tool:serve
Error Output
TypeError: Cannot read properties of undefined (reading 'projects') at getSourceRoot (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx-electron\src\utils\workspace.js:5:52) at executor (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx-electron\src\executors\build\executor.js:17:71) at runExecutorInternal (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\src\command-line\run\run.js:98:19) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\src\command-line\run\run.js:176:44 at async handleErrors (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\src\utils\handle-errors.js:8:24) at async process.<anonymous> (C:\Users\myfor\OneDrive\Masaüstü\projectTool\node_modules\nx\bin\run-executor.js:59:28)
Expected behavior
I am expecting to application run and build without error
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: