yarn serve

新手上路,请多包涵

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
阅读 2.4k
1 个回答
新手上路,请多包涵

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题