React-Native不导入文件夹

Wae*_*eez 0 javascript ecmascript-6 react-native

我正在尝试从反应原生的目录导入所有内容,但它给了我一个错误

错误:捆绑失败:错误:无法解析模块../actionsF:\INSTALLED\React-Native\crm\components\PeopleItem.js:模块../actions无法从找到F:\INSTALLED\React-Native\crm\components\PeopleItem.js.实际上,这些文件都不存在:

但是文件夹名称actions存在.这是我的PeopleItem.js

import React from 'react'
import {
  StyleSheet,
  Text,
  View,
  image
} from 'react-native';
import { connect } from 'react-redux'
import {getTheme} from 'react-native-material-kit'
import icon from 'react-native-vector-icons/EvilIcons'
import * as actions from '../actions'
Run Code Online (Sandbox Code Playgroud)

这是我的目录结构 在此输入图像描述

小智 5

Index.js文件必须以小写"i"命名,index.js因此解释器可以将其正确解释为索引文件.