Cannot find module 'fs-extra'


Hello, i have a problem, when i try to run command:
“ionic cordova run browser”
“ionic cordova build android”
“ionic serve lab” etc. that not works and i get this error:

Error: Cannot find module ‘fs-extra’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (C:\Users\nicol\AppData\Roaming\npm\node_modules\ionic\node_modules@ionic\utils-fs\dist\index.js:4:12)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)

Can someone help with this? The problem appeared when I used the command “ionic i -g”. Nothing of ionic work after this.


npm install -D fs-extra