import React, { Component } from 'react'
import PropTypes from 'C:/Users/appsmaster/AppData/Local/Microsoft/TypeScript/2.9/node_modules/@types/prop-types'
错误:
./ src / components / footer / index.js 找不到模块:
中无法解析“ C:/Users/appsmaster/AppData/Local/Microsoft/TypeScript/2.9/node_modules/@types/prop-types”
答案 0 :(得分:0)
尝试安装/重新安装
npm install --save prop-types
并检查错误是否持续