nrwl nx angular Can't resolve 'child_process'

239 views Asked by At

I'm using https://nx.dev/angular to develop a microservice app but now I'm getting the following errors:

ERROR in /home/vagrant/document-registry/node_modules/@graphql-tools/git-loader/index.esm.js
Module not found: Error: Can't resolve 'child_process' in '/home/vagrant/document-registry/node_modules/@graphql-tools/git-loader'

This particular subproject is an Angular app and I don't know how to prevent node modules that are not part of the browser API from being packaged since the entire application is being used with one package.json file. I'm running this in a vagrant environment.

Can anyone point me in the right direction on this?

0

There are 0 answers