Closed diiiiiego83 closed 7 years ago
@diiiiiego83 interesting -- thanks for reporting this. May I ask what version of node you are using?
sample command:
> node --version
v6.3.1
child_process
is a core node module so this seems to me like a node installation issue
Hi! I am having problems too importing this to a Angular 2 Project using Webpack (No Angular-CLI)
googleapis/lib/googleapis.js Module not found: Error: Can't resolve 'fs' in ... google-auth-library/lib/auth/googleauth.js Module not found: Error: Can't resolve 'child_process'
My versions: Node: 6.6.0 NPM: 3.10.7
I don't know if this package will work in my app, maybe I am making a mistake in the import statements or something similar...
This library is Node.js-only. It will never work in the browser.
If you're actually writing some Angular 2 code that will run on the server (e.g. server-side rendering), then your module bundler needs to mark googleapis
as external dependency, and let Node.js resolve that dependency for you at runtime.
Hi there!
Does someone know what we can use instead for angular 10 projects?
Thanks
Hi, I'm having this problem when i try to import the googleapis package (i'm writing a project with angular-cli):
I can't find a solution to fix the issue.
Regards, Diego