prettier问题?-灵析社区

一一在debug

一个奇怪的问题,大佬们,这个问题我不清楚是怎么发生的,想求问一下是否有大佬知道如何解决 Creating an optimized production build... Failed to compile. [eslint] src/components/Comment/index.tsx Line 393:17: Insert `␍⏎·········` prettier/prettier Line 394:11: Insert `··` prettier/prettier Line 395:1: Insert `··` prettier/prettier Line 396:1: Replace `············` with `··············` prettier/prettier Line 397:1: Insert `··` prettier/prettier Line 398:1: Replace `············` with `··············` prettier/prettier Line 399:1: Insert `··` prettier/prettier Line 400:1: Replace `············` with `··············` prettier/prettier Line 401:1: Insert `··` prettier/prettier Line 402:11: Insert `··` prettier/prettier Line 403:1: Insert `··` prettier/prettier Search for the keywords to learn more about each error.  ELIFECYCLE  Command failed with exit code 1. build failed exit status 1new_answer is not exist build failed The command '/bin/bash -c script/build_plugin.sh' returned a non-zero code: 1

阅读量:180

点赞量:13

问AI
回龙叫不醒
把文件行尾格式从LF改为CRLF即可,或这个改prettier配置 { endOfLine:'auto' }