Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我也是报错,运行不了。麻烦您看一下哦。 #8

Closed
Dawangdadada opened this issue Jun 19, 2017 · 3 comments
Closed

我也是报错,运行不了。麻烦您看一下哦。 #8

Dawangdadada opened this issue Jun 19, 2017 · 3 comments

Comments

@Dawangdadada
Copy link

ERROR in ./app/history.js
Module not found: Error: Cannot resolve module 'history/lib/createHashHistory' i
n C:\Users\acer1\Desktop\react\app
@ ./app/history.js 11:25-65

ERROR in ./app/components/searchForm/index.js
Module not found: Error: Cannot resolve module 'lodash' in C:\Users\acer1\Deskto
p\react\app\components\searchForm
@ ./app/components/searchForm/index.js 135:14-31
Child html-webpack-plugin for "index.html":
chunk {0} index.html 541 kB [rendered]
[0] .//._html-webpack-plugin@2.22.0@html-webpack-plugin/lib/loader.js!.
/app/index.html 1.38 kB {0} [built]
[1] ./
/._lodash@4.17.4@lodash/lodash.js 540 kB {0} [built]
[2] (webpack)/buildin/module.js 241 bytes {0} [built]
webpack: Failed to compile.

@fanyongfeng
Copy link

找不到包 lodash。 npm install lodash

@duxianwei520
Copy link
Owner

@Dawangdadada 你试试楼上的 自己再安装下lodash试试 有些包可能没下载下来

@duxianwei520
Copy link
Owner

我今天把整个node_modules都删掉了 自己npm install之后再npm start是完全没问题的,亲没下载下来肯定是网络问题了咯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants