mocha1020 The engine node is incompatible with this module Expected version = 1400 Got 12161
The error message indicates that the version of Node.js installed on your system is not compatible with the version of the module you are trying to use.
The module you are using requires Node.js version 14.0.0 or higher, but your current version is 12.16.1.
To resolve this issue, you have a few options:
-
Update Node.js: You can update your Node.js installation to a version that meets the minimum requirement of the module. You can download the latest version of Node.js from the official website (https://nodejs.org) and install it on your system.
-
Use a different module: If updating Node.js is not feasible or you prefer not to update it, you can look for an alternative module that is compatible with your current Node.js version.
-
Use a version manager: If you need to work with multiple Node.js versions on your system, you can consider using a version manager like nvm (Node Version Manager) or n (Node.js version management). These tools allow you to easily switch between different Node.js versions for different projects.
Choose the option that best suits your needs and follow the appropriate steps to resolve the compatibility issue.
原文地址: https://www.cveoy.top/t/topic/hP2E 著作权归作者所有。请勿转载和采集!