CodetrixStudio / CapacitorGoogleAuth

Capacitor plugin for Google Auth. Lightweight & no dependencies.
MIT License
275 stars 152 forks source link

Failed to parse source map #215

Open gugahoi opened 2 years ago

gugahoi commented 2 years ago

When using this package I can see the following warnings in the terminal:

$ react-scripts build
Creating an optimized production build...
[BABEL] Note: The code generator has deoptimised the styling of /Users/guga/Projects/joinflux/flux/packages/app/src/features/play/assets/win-the-week-button-background.svg as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB.
Compiled with warnings.

Failed to parse source map from '/Users/guga/Projects/joinflux/flux/packages/app/node_modules/@codetrix-studio/capac
itor-google-auth/src/definitions.ts' file: Error: ENOENT: no such file or directory, open '/Users/guga/Projects/joinflux/flux/packages/app/node_modules/@codetrix-studio/capacitor-google-auth/src/definitions.ts'

Failed to parse source map from '/Users/guga/Projects/joinflux/flux/packages/app/node_modules/@codetrix-studio/capacitor-google-auth/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/guga/Projects/joinflux/flux/packages/app/node_modules/@codetrix-studio/capacitor-google-auth/src/index.ts'

Failed to parse source map from '/Users/guga/Projects/joinflux/flux/packages/app/node_modules/@codetrix-studio/capacitor-google-auth/src/web.ts' file: Error: ENOENT: no such file or directory, open '/Users/guga/Projects/joinflux/flux/packages/app/node_modules/@codetrix-studio/capacitor-google-auth/src/web.ts'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

It doesn't seem to impact functionality but it would be good to resolve. I can see the src folder is not published in the package which might be the cause of this problem.

DeveloperAdam-github commented 2 years ago

Having the same problem in React, worked fine for Vue however.