-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to @capacitor/[email protected]
- Loading branch information
Showing
10 changed files
with
83 additions
and
573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,10 +182,20 @@ npm install --save crypto-js | |
npm install --save-dev @types/better-sqlite3 | ||
npm install --save-dev @types/electron-json-storage | ||
npm install --save-dev @types/crypto-js | ||
npm install --save-dev [email protected] | ||
``` | ||
- **Important**: `node-fetch` version must be `<=2.6.7`; otherwise [you'll get an error](https://github.com/capacitor-community/sqlite/issues/349 "you'll get an error ERR_REQUIRE_ESM") running the app. | ||
|
||
- **Important**: if you are using `@capacitor-community/electron v5` | ||
- you have to stick to [email protected] till further notice so do: | ||
```bash | ||
npm install --save-dev [email protected] | ||
npm uninstall --save-dev electron-rebuild | ||
npm install --save-dev @electron/rebuild | ||
npm install --save-dev [email protected] | ||
``` | ||
- in electron folder open the `tsconfig.json` file and add `"skipLibCheck": true,` | ||
|
||
|
||
## IOS Quirks | ||
|
||
- on iOS, no further steps needed. | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.