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
I am currently trying to upgrade the nx workspace and Angular to 17.3.0. I already executed npx nx migrate 17.3.0 and it worked well. After that, I executed npx nx migrate --run-migrations and exactly there I always get these errors:
Failed to run explicitly-set-projects-to-update-buildable-deps from @nx/js. This workspace is NOT up to date!
Unable to create nodes for apps/test/project.json using plugin nx/core/target-defaults. Inner Error: ReferenceError: structuredClone is not defined
I already searched for solutions and found some same bug reports here but nothing has helped and the error message I get is not the same. Additionally, I checked the project.json and all is fine.
Expected Behavior
Migration works
GitHub Repo
No response
Steps to Reproduce
In my case just try to upgrade your Angular Version to 17.3.0.
Nx Report
Unable to create nodes for apps/test/project.json using plugin nx/core/target-defaults.
Inner Error: ReferenceError: structuredClone is not defined
at exports.TargetDefaultsPlugin.createNodes (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\plugins\target-defaults\target-defaults-plugin.js:54:28)
at buildProjectsConfigurationsFromProjectPathsAndPlugins (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\project-graph\utils\project-configuration-utils.js:146:29)
at createProjectConfigurations (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\project-graph\utils\retrieve-workspace-files.js:89:156)
at _retrieveProjectConfigurations (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\project-graph\utils\retrieve-workspace-files.js:61:12)
at retrieveProjectConfigurations (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\project-graph\utils\retrieve-workspace-files.js:46:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async processFilesAndCreateAndSerializeProjectGraph (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\daemon\server\project-graph-incremental-recomputation.js:140:28)
at async getCachedSerializedProjectGraphPromise (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\daemon\server\project-graph-incremental-recomputation.js:43:16)
at async handleRequestProjectGraph (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\daemon\server\handle-request-project-graph.js:12:24)
at async handleResult (C:\Users\test\source\repos\test\test\ClientApp\test\node_modules\nx\src\daemon\server\server.js:110:16)
I just replaced some path names by test
Failure Logs
No response
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
I am currently trying to upgrade the nx workspace and Angular to 17.3.0. I already executed npx nx migrate 17.3.0 and it worked well. After that, I executed
npx nx migrate --run-migrations
and exactly there I always get these errors:I already searched for solutions and found some same bug reports here but nothing has helped and the error message I get is not the same. Additionally, I checked the project.json and all is fine.
Expected Behavior
Migration works
GitHub Repo
No response
Steps to Reproduce
In my case just try to upgrade your Angular Version to 17.3.0.
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: