fix: dependency error when contributing (#34)

This commit is contained in:
Sean 2022-10-19 22:04:42 +08:00 committed by GitHub
parent 93544f8ae6
commit a41f4fe024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 20738 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
# dependencies # dependencies
node_modules node_modules
pnpm-lock.yaml
.pnp .pnp
.pnp.js .pnp.js

View File

@ -1,4 +1,5 @@
## development ## development
```bash ```bash
# install deps # install deps
npm i npm i
@ -13,7 +14,12 @@ npm run dev --workspace=packages/bruno-electron
npm run build --workspace=packages/bruno-app npm run build --workspace=packages/bruno-app
``` ```
## fix
You might encounter a `Unsupported platform` error when you run `npm install`. To fix this, you will need to delete `node_modules` and `package-lock.json` and run `npm install`. This should install all the necessary packages needed to run the app.
# testing # testing
```bash ```bash
# bruno-schema # bruno-schema
npm test --workspace=packages/bruno-schema npm test --workspace=packages/bruno-schema

20737
package-lock.json generated

File diff suppressed because it is too large Load Diff