I am curious if anybody has built an Angular app using faunadb directly in the angular client without an api layer. I am receiving the following error when I compile
ERROR in ./node_modules/faunadb/src/Client.js
Module not found: Error: Can’t resolve ‘http’ in ‘C:\workspaces\test-clipper\node_modules\faunadb\src’
ERROR in ./node_modules/faunadb/src/Client.js
Module not found: Error: Can’t resolve ‘https’ in ‘C:\workspaces\test-clipper\node_modules\faunadb\src’
I have narrowed it down to this call when the Client is being newed up.
return new Client({ secret: currentUser[AUTH_PROP_KEY] });
I believe I have properly verified the faunadb dependencies are installed correctly…
Has anybody encountered this issue?