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
beidou部署以后打开报404 #54
Comments
本地 或者上服务器看下, 有没有错误日志输出 |
本地npm start没问题 |
是否有服务器日志?
|
2018-04-25 11:23:38,272 ERROR 16587 [-/.../-/75ms GET /] nodejs.AssertionError [ERR_ASSERTION]: Can't find ./home/ from |
{ |
你这个版本比较老了 0.3.x, 启动脚本还是 建议升级到 如果无法升级, 尝试下启动参数增加 |
升级1.x版本后,npm run build时报错如下(没升级以前不报错): 我的service是这么写的: |
上面的代码看起来没有问题, 无法复现这个错误 对比下示例项目里的依赖、配置, 检查下是否有遗漏 |
beidou init后直接beidou dev,报Uncaught TypeError: Cannot read property 'call' of undefined,JS事件无效 |
确认以下信息:
[beidou-cli] v1.0.0
2018-04-25 21:53:06,492 INFO 45359 [master] node version v8.9.1
2018-04-25 21:53:06,494 INFO 45359 [master] beidou-core version 1.0.3 |
开发模式一切正常,构建部署到阿里云后,浏览器访问报404,直接访问静态资源可以打开,是否因为路由问题?
The text was updated successfully, but these errors were encountered: