Cannot find module 'touch' error when running bench update

JS console shows
Uncaught SyntaxError: Unexpected token {

bench watch
throws an error:
throw err;

Error: Cannot find module ‘touch’
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/home/tony/frappe-bench/apps/frappe/frappe/build.js:13:15)
at Module._compile (module.js:571:32)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

1 Like

I should add that desk now only shows a large E

okay, I fixed this with
npm install touch


also run bench update --requirements

Running bench update --requirements on 8.11.4 didn’t help. Had to install manually as well.