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
Error: Unsatisfied version 0 from platform of shared singleton module @apollo/client/core (required ^3.8.9)
shared module @apollo/client/core -> /path/app/node_modules/@apollo/client/core/index.js - Warning: No version specified and unable to automatically determine one. No version in description file (usually package.json). Add version to description file /path/node_modules/@apollo/client/core/package.json, or manually specify version in shared config.
shared module @apollo/client/link/batch -> /path/app/node_modules/@apollo/client/link/batch/index.js - Warning: No version specified and unable to automatically determine one. No version in description file (usually package.json). Add version to description file /path/app/node_modules/@apollo/client/link/batch/package.json, or manually specify version in shared config.
Missing version property exposed from package.
Webpack build with module federation is failied.
Link to Reproduction
link
Reproduction Steps
No response
The text was updated successfully, but these errors were encountered:
That does look like a bug in nx-workspace to be honest - they should always check the top-level package.json of a library, not nested entry points - so they should check node_modules/@apollo/client/package.json, not node_modules/@apollo/client/link/batch/package.json.
Those nested package.json files are used by many packages, and they usually don't contain any version information.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Issue Description
nx-workspace
main.ts:6
Error: Unsatisfied version 0 from platform of shared singleton module @apollo/client/core (required ^3.8.9)
shared module @apollo/client/core -> /path/app/node_modules/@apollo/client/core/index.js - Warning: No version specified and unable to automatically determine one. No version in description file (usually package.json). Add version to description file /path/node_modules/@apollo/client/core/package.json, or manually specify version in shared config.
shared module @apollo/client/link/batch -> /path/app/node_modules/@apollo/client/link/batch/index.js - Warning: No version specified and unable to automatically determine one. No version in description file (usually package.json). Add version to description file /path/app/node_modules/@apollo/client/link/batch/package.json, or manually specify version in shared config.
Missing version property exposed from package.
Webpack build with module federation is failied.
Link to Reproduction
link
Reproduction Steps
No response
The text was updated successfully, but these errors were encountered: