ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Bench Not Starting


#1

Greetings Everyone.

I’m having a problem with my bench I hope you could help me with it.
Everyday I’m trying to start my bench and it’s not working,
I checked the log and this is what I found:

be

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'watch' ]
2 info using npm@5.6.0
3 info using node@v8.10.0
4 verbose run-script [ 'prewatch', 'watch', 'postwatch' ]
5 info lifecycle frappe@~prewatch: frappe@
6 info lifecycle frappe@~watch: frappe@
7 verbose lifecycle frappe@~watch: unsafe-perm in lifecycle true
8 verbose lifecycle frappe@~watch: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/mohd/frappe-bench/apps/frappe/node_modules/.bin:/home/mohd/bin:/home/mohd/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle frappe@~watch: CWD: /home/mohd/frappe-bench/apps/frappe
10 silly lifecycle frappe@~watch: Args: [ '-c', 'node rollup/watch.js' ]
11 silly lifecycle frappe@~watch: Returned: code: 1  signal: null
12 info lifecycle frappe@~watch: Failed to exec watch script
13 verbose stack Error: frappe@ watch: `node rollup/watch.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid frappe@
15 verbose cwd /home/mohd/frappe-bench/apps/frappe
16 verbose Linux 4.13.0-36-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "watch"
18 verbose node v8.10.0
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error frappe@ watch: `node rollup/watch.js`
22 error Exit status 1
23 error Failed at the frappe@ watch script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Thank You


#2

Hi,
This thread solves the problem. Always search for specific terms in trace, there might be solutions.
Thanks