weixin_39690963
weixin_39690963
2021-01-09 03:56

"npm run check keyed/..." is stuck

I am trying to run npm run check keyed/... for my framework as well as for two others I am testing with: preact and vanillajs. In all three cases the script starts and opens a new chrome window, which reports an error: This page isn’t working; localhost redirected you too many times. The address bar displays URL: http://localhost:8080/frameworks/keyed/vanillajs//////////////////// and the script is stuck on the line DevTools listening on ws://127.0.0.1:9999/devtools/browser/*guid*. Eventually, the Chrome window closes and the script ends and reports timeout.

I can run npm run bench without problems. Do I need to do anything special before running npm run check?

该提问来源于开源项目:krausest/js-framework-benchmark

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_39603492 weixin_39603492 4月前

    Looks like same issue as #630

    点赞 评论 复制链接分享
  • weixin_39690963 weixin_39690963 4月前

    I downgraded http-server to 0.9.0 and the check ran OK. Thanks! Closing this as a duplicate of #630

    点赞 评论 复制链接分享
  • weixin_39851914 weixin_39851914 4月前

    That shouldn‘t happen. I‘ll fix it the next few days.

    点赞 评论 复制链接分享
  • weixin_39851914 weixin_39851914 4月前

    I couldn't reproduce the issue on my windows notebook, but isKeyed.ts wasn't updated correctly in #630. Would be nice if you confirmed that it's fixed by now.

    点赞 评论 复制链接分享
  • weixin_39690963 weixin_39690963 4月前

    I refreshed my sandbox from the master branch and built webdriver-ts. Then I ran http-server (npm start), built keyed/preact and ran check - it ran OK.

    点赞 评论 复制链接分享