Skip to content

Commit

Permalink
docs: set correct node_modules path
Browse files Browse the repository at this point in the history
```sh
stat nodes_modules/sql.js/dist/sql-wasm.wasm
stat: cannot statx 'nodes_modules/sql.js/dist/sql-wasm.wasm': No such file or directory

stat node_modules/sql.js/dist/sql-wasm.wasm
  File: node_modules/sql.js/dist/sql-wasm.wasm
  Size: 655300          Blocks: 1280       IO Block: 4096   regular file
Device: fc01h/64513d    Inode: 1106307     Links: 1
Access: (0775/-rwxrwxr-x)  Uid: ( 1001/ robkorv)   Gid: ( 1001/ robkorv)
Access: 2024-08-27 11:22:36.672917380 +0200
Modify: 2024-08-27 11:22:36.687917249 +0200
Change: 2024-08-27 11:22:36.687917249 +0200
 Birth: 2024-08-27 11:22:36.672917380 +0200
```
  • Loading branch information
robkorv authored Aug 27, 2024
1 parent 2e9e74d commit 5896911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Web-Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npm i --save jeep-sqlite@latest
## Ionic/Angular App

- **sql-wasm.wasm**
- Either copy manually the file `sql-wasm.wasm` from `nodes_modules/sql.js/dist/sql-wasm.wasm` to the `src/assets` folder of YOUR_APP
- Either copy manually the file `sql-wasm.wasm` from `node_modules/sql.js/dist/sql-wasm.wasm` to the `src/assets` folder of YOUR_APP
- or `npm i --save-dev copyfiles` and modify the scripts in the `package.json` file as follows:

```
Expand Down Expand Up @@ -707,7 +707,7 @@ that is it.

## Ionic/Vue App

- copy manually the file `sql-wasm.wasm` from `nodes_modules/sql.js/dist/sql-wasm.wasm` to the `public/assets` folder of YOUR_APP
- copy manually the file `sql-wasm.wasm` from `node_modules/sql.js/dist/sql-wasm.wasm` to the `public/assets` folder of YOUR_APP

- For databases in the `public/assets/databases` folder if any, you have to create a `databases.json` file which includes only the non-encrypted database's names

Expand Down Expand Up @@ -1112,7 +1112,7 @@ that is it.
## Ionic/React App
- copy manually the file `sql-wasm.wasm` from `nodes_modules/sql.js/dist/sql-wasm.wasm` to the `public/assets` folder of YOUR_APP
- copy manually the file `sql-wasm.wasm` from `node_modules/sql.js/dist/sql-wasm.wasm` to the `public/assets` folder of YOUR_APP
- For databases in the `public/assets/databases` folder if any, you have to create a `databases.json` file which includes only the non-encrypted database's names
Expand Down

0 comments on commit 5896911

Please sign in to comment.