【问题标题】:Alan AI does't install in React NativeAlan AI 没有安装在 React Native 中
【发布时间】:2021-01-16 16:29:21
【问题描述】:
❯ sudo npm i @alan-ai/alan-sdk-react-native --save


> @alan-ai/alan-sdk-react-native@1.0.7 postinstall /Users/codrain/Desktop/React Native/alanNews/node_modules/@alan-ai/alan-sdk-react-native
> cp AlanSDK.js $INIT_CWD && cp AlanButton.js $INIT_CWD && cp AlanText.js $INIT_CWD

usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory 
npm ERR! code ELIFECYCLE
npm ERR! errno 64
npm ERR! @alan-ai/alan-sdk-react-native@1.0.7 postinstall: `cp AlanSDK.js $INIT_CWD && cp AlanButton.js $INIT_CWD && cp AlanText.js $INIT_CWD`
npm ERR! Exit status 64
npm ERR! 
npm ERR! Failed at the @alan-ai/alan-sdk-react-native@1.0.7 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/codrain/.npm/_logs/2021-01-16T16_24_42_297Z-debug.log
npm ERR!     /Users/codrain/.npm/_logs/2021-01-16T16_24_42_297Z-debug.log

【问题讨论】:

    标签: javascript react-native npm


    【解决方案1】:

    我尝试了我的项目并得到了同样的错误,所以问题应该来自包本身而不是你。

    也许尝试打开一个问题here

    或者找到另一个包,因为这个包似乎不经常更新。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-02
      • 2020-12-05
      • 2021-08-03
      • 1970-01-01
      • 2018-06-10
      • 1970-01-01
      相关资源
      最近更新 更多