Lack of core-js error caused nuxt.js runtime

Lack of core-js error caused nuxt.js runtime;

After re-install the system, it is necessary to re-configure the development environment, time-consuming, there is a problem when you import nuxt.js project, suggested that the lack of core-js introduced;

Error:
Here Insert Picture Description
can clearly see the introduction about the lack of core-js; the system also gives way to solve; is to introduce core-js;
prompted figure:
Here Insert Picture Description
a lot of things, I just started to think I was wrong environment configuration, reconfigure it again; re-create a project, suggesting that the error is also knocked wrote a lot of command, they are wrong. (The process is really painful)

Finally put the right solution

npm install core-js@2

After re-run the test, the problem is solved.

Published 30 original articles · won praise 8 · views 20000 +

Guess you like

Origin blog.csdn.net/wg22222222/article/details/88818198