[英]Okta wont start Error: EACCES: permission denied
I'm trying to use Okta to install their sign-in widget using the documentation from Okta Sign-In Widget and React, https://developer.okta.com/code/react/okta_react_sign-in_widget/#config .我正在尝试使用 Okta 来安装他们的登录小部件,使用来自 Okta 登录小部件和 React 的文档, https://developer.okta.com/code/react/okta_react_sign-in_widget/#config 。 I have all my files set up just like the docs suggested but when I go to npm to start the project I get 70 warnings from the terminal all basically saying the same thing below, with the common
我已经按照文档的建议设置了所有文件,但是当我从 go 到 npm 开始项目时,我从终端收到 70 条警告,基本上都在下面说同样的话,共同点
Failed to parse source map from '/root/okta/okta-signin-widget/...', Error: EACCES: permission denied无法从“/root/okta/okta-signin-widget/...”解析源 map,错误:EACCES:权限被拒绝
How do I resolve these warnings?如何解决这些警告?
You may have used sudo
while installing an NPM package.您可能在安装 NPM package 时使用了
sudo
。
As you are on Linux, it should be enough to just:当您使用 Linux 时,只需:
sudo chown -R $(whoami) ~/.npm
npm install
npm start
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.