Docker build error `build_plugin.sh returned a non-zero code: 1`

Viewed 316

Sorry, I encountered another problem with docker build:

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
1 Answers

This is caused by the inconsistency of the pnpm version. We will upgrade the pnpm version to the latest version in 1.2.0. At this stage, you can use the 7.X version to compile locally.

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2024 Apache Answer Meta.