Giter VIP home page Giter VIP logo

google-translate's People

Contributors

yixianle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-translate's Issues

项目启动报错

index_bundle.js:1 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

npm run pm2启动不了,log如下

2017-07-08 20:48:48: Starting execution sequence in -cluster mode- for app name:trans id:0
2017-07-08 20:48:48: Starting execution sequence in -cluster mode- for app name:trans id:1
2017-07-08 20:48:48: App name:trans id:0 online
2017-07-08 20:48:48: (node:8016) [DEP0007] DeprecationWarning: worker.suicide is deprecated. Please use worker.exitedAfterDisconnect.
2017-07-08 20:48:48: App name:trans id:1 online
2017-07-08 20:48:48: (node:8016) [DEP0007] DeprecationWarning: worker.suicide is deprecated. Please use worker.exitedAfterDisconnect.

系统是centos,可以启动 start,能正常网页翻译,但是不能使用pm2,启动后自动关闭,查看log,就是上面的报错。

网页翻译接口失效

我一直使用作者的网页翻译功能,挺好用的,现在失效了,不知道是哪里出问题了,可以帮忙更新下代码?猜测是不是tkk更新了?

翻译文本过长报服务器错误,希望fix下,多谢

2017-09-14 19:35 +08:00: -----api-------
2017-09-14 19:35 +08:00: server error { Error
at /Users/wzl_vanda/nodejs_github/google-translate/node_modules/translate-api/src/api.js:116:7 code: 'BAD_NETWORK' } { request:
{ method: 'POST',
url: '/translate/api',
header:
{ host: 'localhost:5000',
connection: 'keep-alive',
'content-length': '1132',
origin: 'http://localhost:5000',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36',
'content-type': 'application/json',
accept: '/',
referer: 'http://localhost:5000/',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'zh-CN,zh;q=0.8,en;q=0.6' } },
response: { status: 500, message: 'Internal Server Error', header: {} },
app: { subdomainOffset: 2, proxy: false, env: 'production' },
originalUrl: '/translate/api',
req: '',
res: '',
socket: '' }
2017-09-14 19:35 +08:00: --> POST /translate/api 500 97ms 32b

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.