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
after upgrading lerna 8.1.8,get an error when i run lerna command:
lerna ERR! TypeError: WorkspaceContext is not a constructor
lerna ERR! at setupWorkspaceContext (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/utils/workspace-context.js:10:24)
lerna ERR! at ensureContextAvailable (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/utils/workspace-context.js:50:9)
lerna ERR! at globWithWorkspaceContext (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/utils/workspace-context.js:21:5)
lerna ERR! at retrieveProjectConfigurations (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/utils/retrieve-workspace-files.js:41:77)
lerna ERR! at buildProjectGraphAndSourceMapsWithoutDaemon (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/project-graph.js:77:98)
lerna ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
lerna ERR! at async createProjectGraphAndSourceMapsAsync (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/project-graph.js:201:25)
lerna ERR! at async createProjectGraphAsync (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/project-graph.js:190:39)
lerna ERR! at async detectProjects (/Users/lanberts/Documents/create-next-app/node_modules/lerna/dist/index.js:1563:25)
lerna ERR! lerna WorkspaceContext is not a constructor
Expected Behavior
run lerna command without error
GitHub Repo
no repo
Steps to Reproduce
1.upgrade lerna 8.1.8
2.run lerna chagned
3.get the error above
Nx Report
yarn:1.22.22
node: 18.20.3
macOS: 10.14.3
Failure Logs
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
after upgrading lerna 8.1.8,get an error when i run lerna command:
lerna ERR! TypeError: WorkspaceContext is not a constructor
lerna ERR! at setupWorkspaceContext (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/utils/workspace-context.js:10:24)
lerna ERR! at ensureContextAvailable (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/utils/workspace-context.js:50:9)
lerna ERR! at globWithWorkspaceContext (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/utils/workspace-context.js:21:5)
lerna ERR! at retrieveProjectConfigurations (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/utils/retrieve-workspace-files.js:41:77)
lerna ERR! at buildProjectGraphAndSourceMapsWithoutDaemon (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/project-graph.js:77:98)
lerna ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
lerna ERR! at async createProjectGraphAndSourceMapsAsync (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/project-graph.js:201:25)
lerna ERR! at async createProjectGraphAsync (/Users/lanberts/Documents/create-next-app/node_modules/nx/src/project-graph/project-graph.js:190:39)
lerna ERR! at async detectProjects (/Users/lanberts/Documents/create-next-app/node_modules/lerna/dist/index.js:1563:25)
lerna ERR! lerna WorkspaceContext is not a constructor
Expected Behavior
run lerna command without error
GitHub Repo
no repo
Steps to Reproduce
1.upgrade lerna 8.1.8
2.run lerna chagned
3.get the error above
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: