You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a standard create-react-app setup. I added the above plugins and get the following warnings at build time:
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/haptics/src/definitions.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/haptics/src/definitions.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/haptics/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/haptics/src/index.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/haptics/src/web.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/haptics/src/web.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/status-bar/src/definitions.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/status-bar/src/definitions.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/status-bar/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/status-bar/src/index.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/storage/src/definitions.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/storage/src/definitions.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/storage/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/storage/src/index.ts'
Failed to parse source map from '/Users/jah/workspace/glist/node_modules/@capacitor/storage/src/web.ts' file: Error: ENOENT: no such file or directory, open '/Users/jah/workspace/glist/node_modules/@capacitor/storage/src/web.ts'
Expected Behavior
The build completes without warnings.
Code Reproduction
Create a new create-react-app, add a plugin and hit build.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
All, it is a build problem not a runtime problem.
Current Behavior
I have a standard create-react-app setup. I added the above plugins and get the following warnings at build time:
Expected Behavior
The build completes without warnings.
Code Reproduction
Create a new create-react-app, add a plugin and hit build.
Other Technical Details
npm --version
output:8.1.0
node --version
output:v16.13.0
Additional Context
Those warnings will prevent my production build from being successful. As a workaround I added this env-variable:
GENERATE_SOURCEMAP=false
The text was updated successfully, but these errors were encountered: