gre*_*fox 3 node.js npm webpack
我收到以下错误,但仅当我尝试使用以下依赖项时才出现,否则它工作正常。
错误:
Module build failed: Error: Couldn't find preset "stage-0" relative to directory
Run Code Online (Sandbox Code Playgroud)
导入导致问题
import {ActionDone} from "material-ui"
它是 React-Material-icons npm 包的一部分。如果我删除该导入并使用它,一切都会正常。我缺少什么?
| 归档时间: |
|
| 查看次数: |
6056 次 |
| 最近记录: |