Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs `纱线开始`命令导致`未找到模块'错误_Reactjs_Yarnpkg - Fatal编程技术网

Reactjs `纱线开始`命令导致`未找到模块'错误

Reactjs `纱线开始`命令导致`未找到模块'错误,reactjs,yarnpkg,Reactjs,Yarnpkg,运行纱线开始命令时出现此错误: 浏览器中的输出 未能编译 ./node_modules/@material-ui/core/ButtonBase/TouchRipple.js Module not found: Can't resolve '@babel/runtime/helpers/builtin/assertThisInitialized' in '/home/new88/Desktop/javascript/the_venue/node_modules/@material-ui/co

运行纱线开始命令时出现此错误:

浏览器中的输出

未能编译

./node_modules/@material-ui/core/ButtonBase/TouchRipple.js
Module not found: Can't resolve 
'@babel/runtime/helpers/builtin/assertThisInitialized' in 
'/home/new88/Desktop/javascript/the_venue/node_modules/@material-ui/core/ButtonBase'
如何解决此问题?

引用github的-

The issue seems from the Babel runtime being split into two,
and breaking the Material UI.

I downgraded the babel runtime, with 
npm install --save-exact @babel/runtime@7.0.0-beta.55
and it works now.

谢谢你的回答。
The issue seems from the Babel runtime being split into two,
and breaking the Material UI.

I downgraded the babel runtime, with 
npm install --save-exact @babel/runtime@7.0.0-beta.55
and it works now.