mongodb-js / charts-embed-sdk

The easiest way to embed MongoDB Charts visualisations into your web app
https://docs.mongodb.com/charts/master/embedding-charts-sdk/
Apache License 2.0
43 stars 31 forks source link

Realm example not working #18

Closed wutzi15 closed 4 years ago

wutzi15 commented 4 years ago

When I try and run the realm example it does not work. Cloning and npm install npm run start works fine, but I get an error when logging in. When i dump the error in js it says:

   StitchRequestError {message: "(TRANSPORT_ERROR): the request transport encounter…communicating with Stitch: Network request failed", name: "StitchRequestError", underlyingError: TypeError: Network request failed
    at http://localhost:1234/src.a2b27638.js:26211:16, errorCode: 0, errorCodeName: "TRANSPORT_ERROR", …}errorCode: 0errorCodeName: "TRANSPORT_ERROR"message: "(TRANSPORT_ERROR): the request transport encountered an error communicating with Stitch: Network request failed"name: "StitchRequestError"underlyingError: TypeError: Network request failed
    at http://localhost:1234/src.a2b27638.js:26211:16message: "Network request failed"stack: "TypeError: Network request failed↵    at http://localhost:1234/src.a2b27638.js:26211:16"__proto__: Errorstack: "StitchRequestError: (TRANSPORT_ERROR): the request transport encountered an error communicating with Stitch: Network request failed↵    at StitchRequestError._Error (http://localhost:1234/src.a2b27638.js:19879:11)↵    at StitchRequestError.StitchError [as constructor] (http://localhost:1234/src.a2b27638.js:19892:38)↵    at new StitchRequestError (http://localhost:1234/src.a2b27638.js:19962:20)↵    at http://localhost:1234/src.a2b27638.js:24311:13"__proto__: StitchErrorconstructor: ƒ StitchRequestError(underlyingError, errorCode)arguments: (...)caller: (...)length: 2name: "StitchRequestError"prototype: StitchError {constructor: ƒ}__proto__: ƒ StitchError()[[FunctionLocation]]: StitchRequestError.ts:53[[Scopes]]: Scopes[3]__proto__: Error
tomhollander commented 4 years ago

Hi @wutzi15, thanks for reporting. I just tried the sample and it is working fine for me. I'm wondering if there was a temporary issue with the backend Realm app when you tested it? Can you please try again and let me know if the issue is still present?

wutzi15 commented 4 years ago

Dear @tomhollander, I've just double checked: It's still not working for me :( I have attached the entire shell output below. I hope it helps. I'm running on macOS 10.15.7 and trying to connect from Germany. If there is any further information I can help you with please let me know, I'm more than willing to help.

 node --version                                                                                                                                                                                                                     !? main 
v14.5.0

~/src/dev/frontend/new/tmp 
❯ mkdir charts2                                                                                                                                                                                                                      !? main 

~/src/dev/frontend/new/tmp 
❯ cd charts2                                                                                                                                                                                                                         !? main 

~/src/dev/frontend/new/tmp/charts2 
❯ git clone https://github.com/mongodb-js/charts-embed-sdk.git                                                                                                                                                                       !? main 
Klone nach 'charts-embed-sdk' ...
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 367 (delta 10), reused 13 (delta 7), pack-reused 343
Empfange Objekte: 100% (367/367), 155.12 KiB | 237.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (189/189), Fertig.

Executing /Users/benedikt/.dotfiles/git/hooks/recent.post-checkout

 RECENT COMMITS 
* a4e6b17 Kristina: chore: update readme docs (#15) -   (HEAD -> master, origin/master, origin/HEAD) (vor 9 Wochen)
* be7e112 kristinamongo: Timeline charts example (#13) -   (tag: v1.1.3) (vor 3 Monaten)
* e0dd9b1 Andy: chore: CHARTS-3889 Updated all embedding urls (#11) -   (tag: v1.1.2, tag: v1.1.1, tag: v1.1.0, tag: v1.0.0) (vor 5 Monaten)
* 236e519 Andy: feat: CHARTS 3840 Release sweep (#10) -   (vor 5 Monaten)
* 23b5244 Scott Sidwell: chore: Prepare repo for v1.0.0 release of the SDK (#9) -   (vor 5 Monaten)

~/src/dev/frontend/new/tmp/charts2 
❯ cd charts-embed-sdk/examples/authenticated-realm                                                                                                                                                                                   !? main 

~/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm  v14.5.0
❯ npm i                                                                                                                                                                                                                             ✔ master 
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142

> fsevents@1.2.13 install /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/fsevents
> node install.js

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node

> deasync@0.1.20 install /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/deasync
> node ./build.js

`darwin-x64-node-14` exists; testing
Binary is fine; exiting

> core-js@2.6.11 postinstall /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

> core-js@3.6.5 postinstall /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> core-js@2.6.11 postinstall /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/parcel-bundler/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> core-js@2.6.11 postinstall /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/parcel/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> parcel@1.12.4 postinstall /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/parcel
> node -e "console.log('\u001b[35m\u001b[1mLove Parcel? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/parcel/donate\u001b[0m')"

Love Parcel? You can now donate to our open collective:
 > https://opencollective.com/parcel/donate

> parcel-bundler@1.12.4 postinstall /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm/node_modules/parcel-bundler
> node -e "console.log('\u001b[35m\u001b[1mLove Parcel? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/parcel/donate\u001b[0m')"

Love Parcel? You can now donate to our open collective:
 > https://opencollective.com/parcel/donate
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN mongodb-charts-embedded-sdk-authenticated-demo@1.0.0 No repository field.
npm WARN mongodb-charts-embedded-sdk-authenticated-demo@1.0.0 No license field.

added 785 packages from 530 contributors and audited 790 packages in 22.768s

29 packages are looking for funding
  run `npm fund` for details

found 2 high severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
npm i  17,86s user 11,76s system 124% cpu 23,714 total

~/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm  v14.5.0
❯ npm start                                                                                                                                                                                                                         ? master 

> mongodb-charts-embedded-sdk-authenticated-demo@1.0.0 start /Users/benedikt/src/dev/frontend/new/tmp/charts2/charts-embed-sdk/examples/authenticated-realm
> parcel index.html --open

Server running at http://localhost:1234 
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-browser-sdk/dist/esm/index.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/index.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/index.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-browser-sdk/dist/esm/index.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/index.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/index.js".
⚠️  Could not load source file "../../../src/core/Stitch.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/Stitch.js".
⚠️  Could not load source file "../../src/RemoteMongoClient.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/RemoteMongoClient.js".
⚠️  Could not load source file "../../src/RemoteMongoReadOperation.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/RemoteMongoReadOperation.js".
⚠️  Could not load source file "../../../../../src/core/internal/net/BrowserFetchTransport.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/BrowserFetchTransport.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/google/GoogleRedirectCredential.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/google/GoogleRedirectCredential.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/userapikey/UserApiKeyAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/userapikey/UserApiKeyAuthProviderClient.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/userpassword/UserPasswordAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/userpassword/UserPasswordAuthProviderClient.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/facebook/FacebookRedirectCredential.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/facebook/FacebookRedirectCredential.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/index.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/index.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/google/GoogleRedirectCredential.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/google/GoogleRedirectCredential.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/userapikey/UserApiKeyAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/userapikey/UserApiKeyAuthProviderClient.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/index.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/userpassword/UserPasswordAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/userpassword/UserPasswordAuthProviderClient.js".
⚠️  Could not load source file "../../src/index.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/index.js".
⚠️  Could not load source file "../../../src/core/Stitch.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/Stitch.js".
⚠️  Could not load source file "../../src/RemoteMongoReadOperation.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/RemoteMongoReadOperation.js".
⚠️  Could not load source file "../../../../../src/core/internal/net/BrowserFetchTransport.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/BrowserFetchTransport.js".
⚠️  Could not load source file "../../src/RemoteMongoClient.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/RemoteMongoClient.js".
⚠️  Could not load source file "../../../../../../src/core/auth/providers/facebook/FacebookRedirectCredential.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/facebook/FacebookRedirectCredential.js".
⚠️  Could not load source file "../../src/RemoteMongoCursor.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/RemoteMongoCursor.js".
⚠️  Could not load source file "../../../src/internal/RemoteMongoClientImpl.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/internal/RemoteMongoClientImpl.js".
⚠️  Could not load source file "../../src/StitchAppClientInfo.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchAppClientInfo.js".
⚠️  Could not load source file "../../src/StitchAppClientConfiguration.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchAppClientConfiguration.js".
⚠️  Could not load source file "../../src/RemoteInsertManyResult.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/RemoteInsertManyResult.js".
⚠️  Could not load source file "../../../../src/auth/internal/AuthEvent.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/AuthEvent.js".
⚠️  Could not load source file "../../../../src/auth/internal/AuthInfo.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/AuthInfo.js".
⚠️  Could not load source file "../../../../src/auth/internal/CoreStitchAuth.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/CoreStitchAuth.js".
⚠️  Could not load source file "../../../../src/auth/internal/CoreStitchUserImpl.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/CoreStitchUserImpl.js".
⚠️  Could not load source file "../../../../src/auth/internal/DeviceFields.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/DeviceFields.js".
⚠️  Could not load source file "../../src/OperationType.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/OperationType.js".
⚠️  Could not load source file "../../../../src/internal/common/Storage.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/common/Storage.js".
⚠️  Could not load source file "../../../../src/internal/net/BaseEventStream.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/BaseEventStream.js".
⚠️  Could not load source file "../../../../src/internal/net/Headers.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/Headers.js".
⚠️  Could not load source file "../../../../src/internal/net/Method.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/Method.js".
⚠️  Could not load source file "../../../../src/internal/net/Response.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/Response.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchAppAuthRoutes.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchAppAuthRoutes.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchAppRoutes.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchAppRoutes.js".
⚠️  Could not load source file "../../../../src/internal/net/BasicRequest.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/BasicRequest.js".
⚠️  Could not load source file "../../../../src/internal/net/ContentTypes.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/ContentTypes.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchEvent.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchEvent.js".
⚠️  Could not load source file "../../src/StitchClientError.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchClientError.js".
⚠️  Could not load source file "../../../../src/internal/common/StitchErrorUtils.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/common/StitchErrorUtils.js".
⚠️  Could not load source file "../../../src/auth/UserType.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/UserType.js".
⚠️  Could not load source file "../../../../src/auth/internal/StitchUserProfileImpl.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/StitchUserProfileImpl.js".
⚠️  Could not load source file "../../../../src/services/internal/AuthRebindEvent.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/services/internal/AuthRebindEvent.js".
⚠️  Could not load source file "../../../../src/internal/net/Event.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/Event.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchAppRequestClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchAppRequestClient.js".
⚠️  Could not load source file "../../src/StitchClientErrorCode.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchClientErrorCode.js".
⚠️  Could not load source file "../../src/StitchError.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchError.js".
⚠️  Could not load source file "../../src/StitchRequestError.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchRequestError.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchAuthRequest.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchAuthRequest.js".
⚠️  Could not load source file "../../../../src/services/internal/CoreStitchServiceClientImpl.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/services/internal/CoreStitchServiceClientImpl.js".
⚠️  Could not load source file "../../../../src/internal/common/Base64.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/common/Base64.js".
⚠️  Could not load source file "../../../src/internal/CoreRemoteMongoClientImpl.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/internal/CoreRemoteMongoClientImpl.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchRequestClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchRequestClient.js".
⚠️  Could not load source file "../../../../src/services/internal/RebindEvent.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/services/internal/RebindEvent.js".
⚠️  Could not load source file "../../../../src/services/internal/StitchServiceRoutes.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/services/internal/StitchServiceRoutes.js".
⚠️  Could not load source file "../../../../../src/auth/internal/models/ApiStitchUserIdentity.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/models/ApiStitchUserIdentity.js".
⚠️  Could not load source file "../../../src/internal/CoreRemoteMongoReadOperation.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/internal/CoreRemoteMongoReadOperation.js".
⚠️  Could not load source file "../../../../../src/auth/providers/anonymous/AnonymousCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/anonymous/AnonymousCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/facebook/FacebookCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/facebook/FacebookCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/function/FunctionCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/function/FunctionCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/custom/CustomAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/custom/CustomAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/custom/CustomCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/custom/CustomCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/facebook/FacebookAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/facebook/FacebookAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/function/FunctionAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/function/FunctionAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/internal/StitchAuthResponseCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/internal/StitchAuthResponseCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/google/GoogleCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/google/GoogleCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/serverapikey/ServerApiKeyAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/serverapikey/ServerApiKeyAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/serverapikey/ServerApiKeyCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/serverapikey/ServerApiKeyCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/userapikey/CoreUserApiKeyAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userapikey/CoreUserApiKeyAuthProviderClient.js".
⚠️  Could not load source file "../../../../../src/auth/providers/google/GoogleAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/google/GoogleAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/userapikey/UserApiKeyAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userapikey/UserApiKeyAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/userapikey/UserApiKeyCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userapikey/UserApiKeyCredential.js".
⚠️  Could not load source file "../../../../../src/auth/providers/userpass/UserPasswordAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userpass/UserPasswordAuthProvider.js".
⚠️  Could not load source file "../../../../../src/auth/providers/userpass/UserPasswordCredential.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userpass/UserPasswordCredential.js".
⚠️  Could not load source file "../../../src/internal/CoreRemoteMongoCollectionImpl.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/internal/CoreRemoteMongoCollectionImpl.js".
⚠️  Could not load source file "../../../src/internal/CoreRemoteMongoDatabaseImpl.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/internal/CoreRemoteMongoDatabaseImpl.js".
⚠️  Could not load source file "../../../../../../src/auth/providers/userapikey/models/UserApiKey.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userapikey/models/UserApiKey.js".
⚠️  Could not load source file "../../../../../src/core/internal/net/BrowserFetchStreamTransport.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/BrowserFetchStreamTransport.js".
⚠️  Could not load source file "../../../../../../../src/core/auth/providers/userapikey/internal/UserApiKeyAuthProviderClientImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/userapikey/internal/UserApiKeyAuthProviderClientImpl.js".
⚠️  Could not load source file "../../src/Stream.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/Stream.js".
⚠️  Could not load source file "../../src/StitchServiceErrorCode.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchServiceErrorCode.js".
⚠️  Could not load source file "../../../src/auth/StitchUserIdentity.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/StitchUserIdentity.js".
⚠️  Could not load source file "../../src/StitchRequestErrorCode.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchRequestErrorCode.js".
⚠️  Could not load source file "../../src/StitchServiceError.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchServiceError.js".
⚠️  Could not load source file "../../../../src/internal/common/Assertions.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/common/Assertions.js".
⚠️  Could not load source file "../../../../../src/auth/providers/userpass/CoreUserPasswordAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/userpass/CoreUserPasswordAuthProviderClient.js".
⚠️  Could not load source file "../../../../../src/auth/providers/anonymous/AnonymousAuthProvider.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/anonymous/AnonymousAuthProvider.js".
⚠️  Could not load source file "../../../../src/internal/net/ApiAppMetadata.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/ApiAppMetadata.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchRequest.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchRequest.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchDocRequest.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchDocRequest.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchAuthDocRequest.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchAuthDocRequest.js".
⚠️  Could not load source file "../../../../src/auth/internal/AccessTokenRefresher.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/AccessTokenRefresher.js".
⚠️  Could not load source file "../../../../src/internal/net/StitchRoutes.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchRoutes.js".
⚠️  Could not load source file "../../../src/auth/ProviderCapabilities.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/ProviderCapabilities.js".
⚠️  Could not load source file "../../../../src/auth/internal/JWT.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/JWT.js".
⚠️  Could not load source file "../../../../../src/auth/internal/models/ApiCoreUserProfile.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/models/ApiCoreUserProfile.js".
⚠️  Could not load source file "../../../../../src/auth/internal/models/StoreAuthInfo.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/models/StoreAuthInfo.js".
⚠️  Could not load source file "../../../../../src/core/internal/common/LocalStorage.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/common/LocalStorage.js".
⚠️  Could not load source file "../../../src/internal/CoreStitchAppClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/CoreStitchAppClient.js".
⚠️  Could not load source file "../../src/StitchClientConfiguration.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/StitchClientConfiguration.js".
⚠️  Could not load source file "../../../../../src/auth/internal/models/ApiAuthInfo.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/models/ApiAuthInfo.js".
⚠️  Could not load source file "../../../../src/internal/net/BaseStitchRequestClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/BaseStitchRequestClient.js".
⚠️  Could not load source file "../../../src/internal/ResultDecoders.ts" in source map of "node_modules/mongodb-stitch-core-services-mongodb-remote/dist/esm/internal/ResultDecoders.js".
⚠️  Could not load source file "../../../../../../../src/core/auth/providers/userpassword/internal/UserPasswordAuthProviderClientImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/providers/userpassword/internal/UserPasswordAuthProviderClientImpl.js".
⚠️  Could not load source file "../../../src/internal/RemoteMongoDatabaseImpl.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/internal/RemoteMongoDatabaseImpl.js".
⚠️  Could not load source file "../../../../../src/auth/providers/internal/CoreAuthProviderClient.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/providers/internal/CoreAuthProviderClient.js".
⚠️  Could not load source file "../../../src/internal/RemoteMongoCollectionImpl.ts" in source map of "node_modules/mongodb-stitch-browser-services-mongodb-remote/dist/esm/internal/RemoteMongoCollectionImpl.js".
⚠️  Could not load source file "../../../../../src/auth/internal/models/StoreStitchUserIdentity.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/models/StoreStitchUserIdentity.js".
⚠️  Could not load source file "../../../../../src/auth/internal/models/StoreCoreUserProfile.ts" in source map of "node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/models/StoreCoreUserProfile.js".
⚠️  Could not load source file "../../../../../src/core/internal/net/EventSourceEventStream.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/EventSourceEventStream.js".
⚠️  Could not load source file "../../../../src/core/internal/StitchAppClientImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/StitchAppClientImpl.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/StitchBrowserAppRoutes.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchBrowserAppRoutes.js".
⚠️  Could not load source file "../../../../src/services/internal/StitchServiceClientImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/services/internal/StitchServiceClientImpl.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/StitchAuthImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchAuthImpl.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/StitchBrowserAppAuthRoutes.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchBrowserAppAuthRoutes.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/StitchUserFactoryImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchUserFactoryImpl.js".
⚠️  Could not load source file "../../../../../src/core/internal/common/Version.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/common/Version.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/RedirectFragmentFields.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/RedirectFragmentFields.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/RedirectKeys.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/RedirectKeys.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/StitchRedirectError.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchRedirectError.js".
⚠️  Could not load source file "../../../../../src/core/auth/internal/StitchUserImpl.ts" in source map of "node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchUserImpl.js".
✨  Built in 6.08s.
tomhollander commented 4 years ago

Thanks @wutzi15. I think those warnings during startup are benign. What browser are you using? Do you have any non-standard security/privacy settings enabled? I'm wondering if something in the browser is blocking the requests.

wutzi15 commented 4 years ago

@tomhollander good call. It was the "privacy badger" plugin in chrome... Thanks

tomhollander commented 4 years ago

Great - glad we figured that out.