Skip to content

Commit d2a300f

Browse files
committed
fix: update docs
1 parent 58b56f9 commit d2a300f

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/CONTRIBUTING.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,25 @@
22

33
1. clone repository
44
2. Run `npm install`
5-
3. Run `npm run build` (this is required for a fresh start)
5+
3. Run `npm run build` (this is required for a fresh start)
66

77
We need frontend and backend server to be started for this application.
88

99
Frontend server compiles assets, while backend server communicates with CodeceptJS and processes HTTP and WebSocket requests. HTTP is used to send commands from client to CodeceptJS, and websockets are used to send notifications from CodeceptJS to application.
1010

11+
Note: if you error when building the app, just set this `NODE_OPTIONS=--openssl-legacy-provider` in your terminal
12+
13+
```
14+
> @codeceptjs/ui@0.7.3 build
15+
> vue-cli-service build
16+
17+
18+
⠹ Building for production...Error: error:0308010C:digital envelope routines::unsupported
19+
at new Hash (node:internal/crypto/hash:69:19)
20+
at Object.createHash (node:crypto:133:10)
21+
```
22+
23+
1124
Both servers must be executed for development:
1225

1326
### Launch application in Electron mode:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.7.3",
44
"license": "MIT",
55
"scripts": {
6-
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
7-
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
88
"lint": "vue-cli-service lint --fix && vue-cli-service lint lib/** --fix",
99
"app": "node bin/codecept-ui.js --app -c node_modules/@codeceptjs/examples",
1010
"backend": "node bin/codecept-ui.js -c node_modules/@codeceptjs/examples/codecept.conf.js",

0 commit comments

Comments
 (0)