We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
root-check 这个包会检测到用户是否在root权限下运行,然后尽可能的降低权限,问题是关键是这一切是静默的,你根本不知道发生了什么。
就在刚才,我准备制作一个vscode插件,开始运行 yo code时,却提醒我没有权限。
fk, 我可是root用户啊,怎么可能没有权限,当时就怀疑是不是给我降权了,一番搜索后,果然找到了 yeoman/yo#348 (comment)
sed -i -e '/rootCheck/d' "${NPM_CONFIG_PREFIX}/lib/node_modules/yo/lib/cli.js"
这才发现了这个奇葩的包,关键yo还使用了它。 sindresorhus/root-check#1
无fuck可说
The text was updated successfully, but these errors were encountered:
我之所以root用户是因为wsl2环境下。
Sorry, something went wrong.
No branches or pull requests
root-check
这个包会检测到用户是否在root权限下运行,然后尽可能的降低权限,问题是关键是这一切是静默的,你根本不知道发生了什么。
就在刚才,我准备制作一个vscode插件,开始运行 yo code时,却提醒我没有权限。
fk, 我可是root用户啊,怎么可能没有权限,当时就怀疑是不是给我降权了,一番搜索后,果然找到了
yeoman/yo#348 (comment)
这才发现了这个奇葩的包,关键yo还使用了它。
sindresorhus/root-check#1
无fuck可说
The text was updated successfully, but these errors were encountered: