Ant-design-pro: 🧐[问题]there is an error message after exec command 'npm start';

Created on 10 Apr 2020  ·  3Comments  ·  Source: ant-design/ant-design-pro

🧐 问题描述

当执行npm start 后能启动;但是在打开页面的时候会提示:
UnhandledPromiseRejectionWarning: TypeError: text.trimEnd is not a function

💻 示例代码

🚑 其他信息


image

🕵🏻‍♀️ question

Most helpful comment

https://github.com/wswebcreation/wdio-cucumberjs-json-reporter/issues/14#issuecomment-528788007

Please upgrade node version greater than 10.x

All 3 comments

I'm having the same issue when starting a new project, both on Typescript and JS versions following the "Getting started" documentation.

If I start a v3 project it works fine.

https://github.com/wswebcreation/wdio-cucumberjs-json-reporter/issues/14#issuecomment-528788007

Please upgrade node version greater than 10.x

Thanks for the above answer. it did!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhuanglong picture zhuanglong  ·  3Comments

happier2 picture happier2  ·  3Comments

suifan picture suifan  ·  3Comments

cheung1111 picture cheung1111  ·  3Comments

952425340 picture 952425340  ·  3Comments