Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Module not found errors when using pubnub-angular2 with angular cli v 1.7.0-rc.0 #30

Open
abeymg opened this issue Feb 9, 2018 · 0 comments

Comments

@abeymg
Copy link

abeymg commented Feb 9, 2018

Repro steps

Step 1:
Upgrade an angular project using cli version 1.6.1 to cli 1.7.0-rc.0. App uses the pubnub-angular2 lib v 1.3.0

Step 2:
ng serve the app OR alternatively ng test any specs that make use the pubnub angular service.

Observed behavior
Getting a bunch of Module not found error e.g.

ERROR in ./node_modules/pac-proxy-agent/node_modules/socks-proxy-agent/index.js
Module not found: Error: Can't resolve 'dns' in '/Users/ag/proj/node_modules/pac-proxy-agent/node_modules/socks-proxy-agent'
ERROR in ./node_modules/pac-resolver/dnsResolve.js
Module not found: Error: Can't resolve 'dns' in '/Users/ag/proj/node_modules/pac-resolver'
ERROR in ./node_modules/pac-resolver/isInNet.js
Module not found: Error: Can't resolve 'dns' in '/Users/ag/proj/node_modules/pac-resolver'
ERROR in ./node_modules/pac-resolver/isResolvable.js
Module not found: Error: Can't resolve 'dns' in '/Users/ag/proj/node_modules/pac-resolver'
ERROR in ./node_modules/socks-proxy-agent/socks-proxy-agent.js
Module not found: Error: Can't resolve 'dns' in '/Users/ag/proj/node_modules/socks-proxy-agent'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant