reactiverse / es4x

🚀 fast JavaScript 4 Eclipse Vert.x
https://reactiverse.io/es4x/
Apache License 2.0
882 stars 75 forks source link

es4x Startup failed #462

Closed xjy12345654 closed 3 years ago

xjy12345654 commented 3 years ago

I installed it according to the example. jdk11.06 but npm start failed

20201201174151

fantasy0v0 commented 3 years ago

@xjy12345654 你用的是哪个版本? what version are you using?

xjy12345654 commented 3 years ago

@fantasy0v0 大佬我用的 就是示例中的 应该是最新版吧 创建中还有其他错误 要修改 package.json
"devDependencies": { "@es4x/create": "0.13.3", "@es4x/unit": "3.9.4" } 但是到最后一步 npm start 就开始失败报错了.......

xjy12345654 commented 3 years ago

@fantasy0v0 按照示例 到 npm install时候

npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vertx%2fcreate - Not found npm ERR! 404 npm ERR! 404 '@vertx/create@0.13.3' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'myproject' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

然后我修改了 "@vertx/create": "0.13.3", 为 "@es4x/create": "0.13.3"

20201208103403

fantasy0v0 commented 3 years ago

@xjy12345654 我在我自己电脑上试了是可以正常启动的,但我的环境跟你的不一样,可能是Windows下特有的问题,有空我在Windows下试试。

xjy12345654 commented 3 years ago

@fantasy0v0 好 无意中发现的这个框架,不行的话只能玩 fastify ......或者直接学 rust 搞 Rust web框架

chengenzhao commented 3 years ago

0.14.0要发了,用最新的版本吧 现在es4x还不是很稳定,毕竟连1.0都还没上

pmlopes commented 3 years ago

@fantasy0v0 for the @vertx/create you can manually download the 0.14.0 from github releases: https://github.com/reactiverse/es4x/releases/tag/0.14.0

pmlopes commented 3 years ago

All bits of the 0.14.0 are being pushed to the mirrors ATM. So they should be soon on npm and maven

xjy12345654 commented 3 years ago

@pmlopes @chengenzhao @fantasy0v0 Thank you, everyone has started normally according to the example! Update to 0.14 and it is normal.