I was experiencing an issue in the strapi backend trying to use to content builder, so quit the server and went to restart and I got the following error:
Error: Cannot find module 'strapi-utils'
Require stack:
- /usr/local/lib/node_modules/strapi/bin/strapi.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/local/lib/node_modules/strapi/bin/strapi.js:13:17)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lib/node_modules/strapi/bin/strapi.js' ]
I have tried reinstalling strapi-utils (npm i strapi-utils) but still throwing the error. What else can I try. Was working wonderfully up until this. Just does not want to restart now!!
Thanks in advance, Tom