Java中你访问的模块不存在_模板 Map 中不存在模块
我是新来的,希望我输入所需的所有信息 .
当我尝试在我的应用程序中进行一些webscraping时,我遇到了错误
module...does not exist in the haste module map" with 'events' and 'stream'.
我研究了我的问题,并尝试了以下方向的指示:https://github.com/facebook/react-native/issues/4968除了守望者步骤,因为我在Windows上 . 不幸的是,同样的错误不断出现,只是使用不同的模块 . 这次它的babel正在抱怨 .
我该怎么办?
我还尝试创建一个新的react-native-init项目,然后git克隆我的src代码 . 仍然得到类似的错误 .
{
"name": "Work",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"axios": "^0.18.0",
"cheerio": "^1.0.0-rc.2",
"events": "^3.0.0",
"firebase": "^5.0.3",
"htmlparser2": "^3.9.2",
"react": "16.3.1",
"react-native": "0.55.2",
"react-native-calendars": "^1.21.0",
"react-native-communications": "^2.2.1",
"react-native-fs": "^2.11.17",
"react-native-router-flux": "^4.0.0-beta.28",
"react-native-vector-icons": "^5.0.0",
"react-navigation": "^2.13.0",
"react-twitter-embedded-timeline": "^0.5.0",
"react-twitter-widgets": "^1.7.1"
},
"devDependencies": {
"babel-jest": "22.4.3",
"babel-preset-react-native": "4.0.0",
"jest": "22.4.3",
"react-test-renderer": "16.3.1"
},
"jest": {
"preset": "react-native"
}
}
从节点cmd屏幕复制 .

本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
