Error: No valid exports main found for ‘/Users/work/company_ fc/a/node_ modules/colorette
Prompt problem encountered while installing dependency
Cause analysis:
The node version may be incorrect
The default version of the current node is 13.3.0. Switch to version 12.14.1 and start normally.
Generally, for old projects, it is necessary to switch to the lower version of node
However, if you don’t want to uninstall the original high version and want to use the low version, NVM is required at this time
reference resources: https://blog.csdn.net/weixin_ 44954172/article/details/104260612
If NVM is installed, simply
nvm use 12.14.1
Similar Posts:
- bash :startx command not found
- 「ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory」
- Installing mingw64 and msys2 in win10
- FTP upload file error: failure writing to local file
- Idea uses git’s pull command to report error 1
- [618]basic_consume() got multiple values for keyword argument ‘queue’
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: want
- [Solved] Makefile xxx recipe for target xxx failed
- Use NPM install to report an error – operation not allowed
- Python — the copied virtual environment PIP command failed to run. Fatal error in launcher: unable to create process using