yarn serve

wyofky6m
  • 1
新手上路,请多包涵

yarn serve报下面错误,要怎么弄呢?
image.png

 ERROR  Failed to compile with 3 errors                             下午10:06:47
These relative modules were not found:

* ./fonts/ionicons.svg?v=3.0.0 in ./node_modules/css-loader??ref--10-oneOf-3-1!./node_modules/postcss-loader/lib??ref--10-oneOf-3-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-3-3!./src/theme.less
* ./fonts/ionicons.ttf?v=3.0.0 in ./node_modules/css-loader??ref--10-oneOf-3-1!./node_modules/postcss-loader/lib??ref--10-oneOf-3-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-3-3!./src/theme.less
* ./fonts/ionicons.woff?v=3.0.0 in ./node_modules/css-loader??ref--10-oneOf-3-1!./node_modules/postcss-loader/lib??ref--10-oneOf-3-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-3-3!./src/theme.less
No type errors found
Version: typescript 3.1.1
Time: 11754ms
回复
阅读 351
1 个回答
user_demon
  • 2
新手上路,请多包涵

引用 /fonts 下的内容路径错误,试试用相对路径或者全路径

你知道吗?

宣传栏