gpt4 book ai didi

node.js - ld : unsupported tapi file type '!tapi-tbd' in YAML file

转载 作者:行者123 更新时间:2023-12-03 12:16:28 29 4
gpt4 key购买 nike

我在运行“ npm install ”时遇到错误(见附图)

  • Node 版本:10.7.0,npm 版本:6.1.0
  • MacOs 版本:10.15.6

  • 这是一个 react native 项目(我将在 iOS 部分工作),package.json 如下:
    {
    "name": "abc",
    "version": "0.0.1",
    "private": true,
    "scripts": {
    "postinstall": "./postinstall.sh",
    "start": "react-native start",
    "test": "jest"
    },
    "dependencies": {
    "alt": "^0.18.6",
    "alt-utils": "^2.0.0",
    "axios": "^0.19.2",
    "enumify": "^1.0.4",
    "fs": "0.0.1-security",
    "native-navigation": "https://github.com/abc/native-navigation.git",
    "prop-types": "^15.6.0",
    "react": "16.9.0",
    "react-native": "^0.63.2",
    "react-native-fs": "^2.14.1",
    "react-native-iphone-x-helper": "^1.0.2",
    "react-native-keyboard-aware-scroll-view": "^0.4.2",
    "react-native-multi-validation": "^1.0.0",
    "react-native-navigation": "2.0.2179",
    "react-native-simple-radio-button": "^2.7.1",
    "react-native-webview": "6.0.2",
    "snakecase-keys": "^1.1.0",
    "urijs": "^1.19.0"
    },
    "devDependencies": {
    "@babel/core": "^7.6.2",
    "@babel/runtime": "^7.6.2",
    "babel-jest": "^24.9.0",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.56.0",
    "babel-plugin-module-resolver": "2.3.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react-native": "4.0.1",
    "react-test-renderer": "16.9.0"
    },
    "jest": {
    "preset": "react-native"
    }
    }
    我试过的:
    我使用 brew install watchman 安装了 watchman,尝试在安装软件包时打印日志,但它对我不起作用。
    错误消息:
    enter image description here

    最佳答案

    将 os 更新到 Catalina 时,我遇到了同样的问题,尝试更新(重新安装)llvm 和 gcc,然后重新安装 xcode 命令行工具:

    $ brew upgrade llvm
    $ brew upgrade gcc
    $ sudo rm -rf /Library/Developer/CommandLineTools
    $ xcode-select --install
    您可能需要重新启动系统

    关于node.js - ld : unsupported tapi file type '!tapi-tbd' in YAML file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63592445/

    29 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com