Can't bundle it via webpack. There is no file called sha.js in the @apollo/federation package.
ERROR in ./node_modules/apollo-graphql/lib/utilities/createHash.js 9:11-28
Module not found: Error: Can't resolve 'sha.js' in '/home/starptech/repositories/starptech/demo/node_modules/apollo-graphql/lib/utilities'
resolve 'sha.js' in '/home/starptech/repositories/starptech/graphql-registry/node_modules/apollo-graphql/lib/utilities'
Parsed request is a module
using description file: /home/starptech/repositories/starptech/demo/node_modules/apollo-graphql/package.json (relative path: ./lib/utilities)
@apollo/federation: 0.23.1
0.23.0
❯ npm why sha.js
sha.js@2.4.11
node_modules/sha.js
sha.js@"^2.4.11" from apollo-env@0.6.6
node_modules/apollo-env
apollo-env@"^0.6.6" from apollo-graphql@0.6.1
node_modules/apollo-graphql
apollo-graphql@"^0.6.0" from @apollo/federation@0.23.0
node_modules/@apollo/federation
@apollo/federation@"0.23.0" from the root project
0.23.1
❯ npm why sha.js
npm ERR! No dependencies found matching sha.js
Can't bundle it via webpack. There is no file called
sha.jsin the@apollo/federationpackage.@apollo/federation: 0.23.1
0.23.0
0.23.1