I am seeing dependencies error similar to this on my nuxt 2.14.4 app.
ERROR Failed to compile with 57 errors
These dependencies were not found:
* child_process in ./node_modules/fsevents/node_modules/detect-libc/lib/detect-libc.js, ./node_modules/fsevents/node_modules/node-pre-gyp/lib/testbinary.js and 5 others
* fs in ./node_modules/chownr/chownr.js, ./node_modules/clone-stats/index.js and 48 others
- Installing-re-installing "child_process" and "fs" does not solve the problem. Clearly this is triggered by something else.
- Unable to locate the source of error as the compilation error does not surface up on the logs. Tried a couple of things to expand the dependencies errors. "--loglevel verbose" and "nuxt-log". But the log does not expand the depedencies. I would like to see all the missing dependencies (5 more for child_process and 48 more for fs as the logs say) to resolve the compilation errors.
- Not sure if this is an issue with versioning some other modules. Will be able to figure out from 2.
- Refreshing / Re-creating node_modules is not helping.