Comments (17)
我进行注册的时候也遇到一样的问题,请求帮助。
from hitchhiker.
你好, 是url不对,看起来myhost没被替换掉,麻烦贴下Hitchhiker目录下的pm2.json文件内容
from hitchhiker.
from hitchhiker.
是的,确实没换掉, linux_deploy.sh里的myhost是有换掉吧
from hitchhiker.
from hitchhiker.
对的,看起来是我的脚本写得有点问题,sed -i 's/myhost/$'myhost'/g' pm2.json 这行没起作用,奇怪我在ubuntu上试了是可以的,我去mac上试一下
from hitchhiker.
嗯嗯 好的好的,谢谢你哈
from hitchhiker.
着急用的话可以改下 Hitchhiker/build/public/static/js/main.**.js, 找到 myhost,换成ip:port,然后在Hitchhiker目录下运行命令 pm2 skill & pm2 start pm2.json
from hitchhiker.
不客气,是我的问题
from hitchhiker.
好的 好的 ,谢谢哈~~~你share的工程对我帮助很大呢~~~嘿嘿
from hitchhiker.
我刚接触软件不是很多,刚刚搜索了一下,并在我电脑上新建了一个小文件试了一下,似乎生效。
`问题一
sed编辑命令:【sed -i ‘s/a/b/g‘ test.txt】
报错:sed: 1: "test.txt": undefined label ‘est.txt‘
解决方案:增加一个备份的追加名【sed -i ‘.bak‘ ‘s/a/b/g‘ test.txt】
原因:mac强制要求备份,否则报错
当然可以不使用其他备份名字,只是用’‘,就可以只保留一份
sed -i ‘’ ’s/a/b/g’ test.txt`
from hitchhiker.
是的,我刚在mac上试了下,用 sed -i '' "s~myhost~$myhost~g" pm2.json
就可以了,我改下
from hitchhiker.
mac 是 基于BSD的unix,sed命令与linux不太一样
from hitchhiker.
嗯嗯 感觉你知识好渊博,我对linux命令和nodejs几乎一无所知,正在努力学习你的东东,要加油加油努力才行~~~
from hitchhiker.
哈哈,过奖了,我也是杂七杂八的学,都不精通,更新了脚本和文档,不过没找到两类系统都可以用的脚本,所以在mac上需要替换下sed那行
from hitchhiker.
你好,我用“sudo sh linux_deploy.sh”替代“source ./linux_deploy.sh”这个命令可以吗?因为我用“source ./linux_deploy.sh”这个命令的时候会报错很多权限不足,且我在前面加sudo也会报错,所以我用“sudo sh linux_deploy.sh”这个命令,但是在登陆的是sign in一直在转圈,登陆不进去,下面的console也没有报错,不知道是怎么回事
from hitchhiker.
数据库问题,因为存了column为json的字段,mysql需要5.7+版本。
from hitchhiker.
Related Issues (20)
- 压力测试运行时node端报$字符错误
- 2000条用例导致登录会消耗很长时间约1.5分钟 HOT 4
- docker安装无法发邮件 HOT 6
- 请问将服务器部署在阿里云上怎么进行本地调试?
- 负载均衡时Session过期问题
- 参数化数据类型丢失导致无法使用
- 在Collections目录下切换Environment无法立即生效
- body 请允许可以写 注释 HOT 1
- 启动连接11010 端口失败?
- 接口返回http code 为 500时,自动化测试认为失败了
- 文档页面打不开了
- linux系统部署Hitchhiker有部署文档的链接吗,https://github.com/brookshi/Hitchhiker/blob/master/doc/howtoinstall-linux-cn.md 这个链接报404 HOT 1
- docker部署,创建账户后,报sql错误:[2019-05-06 09:47:50.369] [ERROR] console - Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json NOT NULL, createDate datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), `' at line 1
- 部署成功后,谷歌浏览器点击不登录试用或者直接注册,都会调到一个页面但是资源加载不出来,看console下有报错403 HOT 5
- 请问这个项目还在维护和更新吗?
- JavaScript heap out of memory
- 脚本执行顺序
- collection级别脚本修改url时,会清空hitchhiker.request
- 怎么用js获取当前环境的IP? HOT 1
- 用“raw”模式 post 成功后,返回内容在“内容”页签没有输出,但切换为“x-www-form-urlencoded”时会重放打印“raw”的响应内容
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hitchhiker.