Error: Cannot find module 'graphql/validation/rules/KnownArgumentNamesRule' Require stack: - C:\Users\Minseo\AppData\Roaming\npm\node_modules\apollo\node_modules@apo llo\federation\dist\composition\validate\preNormalization\tagDirective.js
I face this issue while downloading schema in latest version of node, so i want to downgrade it to previous version.
Thanks
Open Terminal & run these command on macbook
**After that check node version if it's uninstall compeletely enter ** node -v
Result "-bash: node: command not found"
You can use NVM(Node Version Manager).
**First Step **
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
Second Step
Install Specific Version Using NVM
nvm install <version>
if you are getting any error of nvm use below code
source ~/.nvm/nvm.sh
then again follow the second step
Third step
use this below command
nvm use <version>
then check the version
node -v
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.