-
Notifications
You must be signed in to change notification settings - Fork 121
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
build报错 #4
Comments
我这边没问题呀,你先执行下 npm run dev 试试呢 |
应该是有两个问题,getEntryFileContent这个方法:
我不懂前端这些,看webpack处理的文件错误好像就是这个意思。 |
嗯,第一个问题可能存在,第二个问题不存在,因为webpack配置了别名所以没问题的 |
嗯,我这边测试也是getEntryFileContent这个方法出了问题,但是不太清楚这里应该怎么改,改了就会破坏原来程序的结构 |
windows 的问题,稍后解决吧,多谢大家的支持 |
windows 的问题,希望作者能够尽快解决一下。急急急。 |
windows下,getEntryFileContent 方法加入这句话 |
感谢指点,加入 |
应该两个右斜杠。 但是会出现另外一个错误,怎么解决呢?@Lily233 |
@fallowu 有些文件找不到,你对着错误检查一下文件位置,基本上是import时的写法,windows下“./"表示当前文件之类的,全部改好就好了,貌似这种错误挺多的 |
@Lily233 谢谢。我重启电脑后就好了,不需要改,不重启一直都有。 |
这问题有谁解决了么 |
将./src/utils/modules/navigator.js里面的第8行的 import ip from 'config' 改为 import ip from 'ip' 就好了 @fallowu |
谢谢!
在 2017-06-01 10:12:42,"540240126" <notifications@github.com> 写道:
将./src/utils/modules/navigator.js里面的第8行的 import ip from 'config' 改为 import ip from 'ip' 就好了 @fallowu
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
怎么一直报错 |
求解啊 |
您好,下载了项目,执行完npm run build之后,提示错误:
aster\src\entry\components
@ ./src/entry/components/osc-navbar.js?entry=true 8:12-54
master\src\entry\components
@ ./src/entry/components/osc-navpage.js?entry=true 8:12-55
ter\src\entry\components
@ ./src/entry/components/osc-root.js?entry=true 8:12-52
aster\src\entry\components
@ ./src/entry/components/osc-tabbar.js?entry=true 8:12-54
src\entry\views\home
@ ./src/entry/views/home/app.js?entry=true 8:12-50
master\src\entry\components
@ ./src/entry/components/osc-tabitem.js?entry=true 8:12-55
r\src\entry\views\launch
@ ./src/entry/views/launch/app.js?entry=true 8:12-52
src\entry\views\mine
@ ./src/entry/views/mine/app.js?entry=true 8:12-50
rc\entry\views\web
@ ./src/entry/views/web/app.js?entry=true 8:12-49
我是先下载项目,解压,执行npm install,然后npm run build,请问是哪一步出错了吗?
The text was updated successfully, but these errors were encountered: