Closed pauldev20 closed 3 months ago
Try building the /example app in this repo.
The /example app doesn't throw these warnings. I used React and not Angular, so the issue seams to be a problem with React.
I don't think React has anything to do with it.
What's with these paths with triple-dot paths? : '.../node_modules
I suggest you generate a simple HellowWorld app and attempt to reproduce this. I suspect you won't be able to.
I just added those triple dots to not need to paste my complete path here, because it would have been really long. So the .../node_modules
folder is just the node_modules folder inside the root folder of my project.
So I tried creating a fresh Ionic React app and installing the plugin via: npm install --save @transistorsoft/capacitor-background-fetch
and I am still receiving the same warnings as soon as using the plugin.
Did you follow the directions of the /example
README?
You need to manually compile the plugin's typescript when cloning this repo to run the /example.
Yes, I did follow all the steps, but sadly it didn't solve the problem.
We have these warnings in an ionic react app as well
Create for me a simple HelloWorld app which reproduces this.
@christocracy https://github.com/mattsbennett/ionic-react-test.git
Hi guys, this issue persists. Any thoughts @christocracy?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Your Environment
npx cap doctor
)Latest Dependencies:
@capacitor/cli: 4.6.3 @capacitor/core: 4.6.3 @capacitor/android: 4.6.3 @capacitor/ios: 4.6.3
Installed Dependencies:
@capacitor/cli: 4.6.1 @capacitor/core: 4.6.1 @capacitor/ios: 4.6.1 @capacitor/android: 4.6.1
[success] iOS looking great! 👌 [success] Android looking great! 👌
[react-scripts] WARNING in ./node_modules/@transistorsoft/capacitor-background-fetch/dist/esm/definitions.js [react-scripts] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): [react-scripts] Failed to parse source map from '.../node_modules/@transistorsoft/capacitor-background-fetch/src/definitions.ts' file: Error: ENOENT: no such file or directory, open '.../node_modules/@transistorsoft/capacitor-background-fetch/src/definitions.ts' [react-scripts] WARNING in ./node_modules/@transistorsoft/capacitor-background-fetch/dist/esm/index.js [react-scripts] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): [react-scripts] Failed to parse source map from '.../node_modules/@transistorsoft/capacitor-background-fetch/src/index.ts' file: Error: ENOENT: no such file or directory, open '.../node_modules/@transistorsoft/capacitor-background-fetch/src/index.ts' [react-scripts] webpack compiled with 2 warnings