我正在尝试使用 ExtReact 的试用版并使用链接
https://docs.sencha.com/extreact/7.2.0/guides/getting_started/creating_ext_react_app_modern.html
因此,成功获取了用户名和密码,并且能够在第 2 步中登录。
但是在运行第 3 步时:使用 create-react-app 和 ExtReact 模板创建一个 React 应用程序不起作用。以下命令给出以下错误。
npx create-react-app --template @sencha/ext-react-modern ext-react-modern-demo
错误:
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with @sencha/cra-template-ext-react-modern...
npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://npm.sencha.com/@sencha%2fcra-template-ext-react-modern - unregistered users are not allowed to access package @sencha/cra-template-ext-react-modern
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.