Closed e3c8f1a924 closed 5 years ago
RT,一运行yarn dev就报错:
yarn dev
ERROR in ./src/plugins/hljs.js 46:31 Module parse failed: Unexpected token (46:31) You may need an appropriate loader to handle this file type. \| _context.prev = 5; \| _context.next = 8; > return import('highlight.js/lib/languages/' + lang); \| \| case 8: @ ./src/scripts/article.js 6:0-53 9:9-30 @ ./src/templates/debug/article.js @ multi babel-polyfill ./src/templates/debug/article.js --
是我的操作有问题吗?
已解决,重新安装依赖即可。
RT,一运行
yarn dev
就报错:是我的操作有问题吗?