F7 Vue Error: Cannot find module 'vue-loader/lib/plugin'

I used F7 cli to create a PWA type F7 with Vue But when npm run start or npm run build-prod or npm start, i get:
npm run build-prod

[email protected] build-prod /Users/florisvanhall/Desktop/vue
cross-env NODE_ENV=production node ./build/build.js

internal/modules/cjs/loader.js:969
throw err;
^

Error: Cannot find module ‘vue-loader/lib/plugin’
Require stack:

  • /Users/florisvanhall/Desktop/vue/build/webpack.config.js
  • /Users/florisvanhall/Desktop/vue/build/build.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (/Users/florisvanhall/Desktop/vue/build/webpack.config.js:4:25)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (/Users/florisvanhall/Desktop/vue/build/build.js:5:16)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [
    ‘/Users/florisvanhall/Desktop/vue/build/webpack.config.js’,
    ‘/Users/florisvanhall/Desktop/vue/build/build.js’
    ]
    }

I have searched this forum and the web but can’t find a solution. Please help fixing this?

Install prev version of vue loader:

npm i [email protected] --save-dev

thank you very much, this solved my problem.