【发布时间】:2016-10-13 10:15:44
【问题描述】:
我从http://redux.js.org/docs/introduction/Examples.html 构建“真实世界”示例。它可以“npm start”并且运行良好。但是当“npm run build”,我将 build/index.html 和 build/static 复制到我的 Apache 服务器根目录时,它会报告“Uncaught Invariant Violation: Minified React error #130;”错误。
谁能帮帮我?
在我的主机文件中: 127.0.0.1 app.jogooolocal.com
在 httpd-vhosts.conf 文件中 DocumentRoot "E:/code/app" 服务器名称 app.jogooolocal.com AllowEncodedSlashes On 选项索引 FollowSymLinks 允许覆盖所有 要求所有授予
我的文件夹结构如下: E:/code/app/index.html E:/code/app/static/js/main.8a6eb2e1.js E:/code/app/static/js/main.8a6eb2e1.js.map
【问题讨论】: