cra-crx-boilerplate icon indicating copy to clipboard operation
cra-crx-boilerplate copied to clipboard

Service Worker Registration

Open parthraghav opened this issue 2 years ago • 2 comments

Hey, man! I am getting the following error when using your code:

index.js:583 [webpack-dev-server] Errors while compiling. Reload prevented.
logger @ index.js:583
index.js:583 [webpack-dev-server] ERROR

src/pages/content/index.ts
  Line 2:3:    Insert `··`                                                                                                               prettier/prettier
  Line 3:1:    Insert `····`                                                                                                             prettier/prettier
  Line 4:1:    Insert `····`                                                                                                             prettier/prettier
  Line 5:1:    Replace `····` with `········`                                                                                            prettier/prettier
  Line 6:3:    Insert `··`                                                                                                               prettier/prettier
  Line 7:1:    Replace `····console.log("[content.js].·Message·received"` with `········console.log('[content.js].·Message·received'`    prettier/prettier
  Line 8:1:    Replace `····sendResponse("received"` with `········sendResponse('received'`                                              prettier/prettier
  Line 9:1:    Replace `····if·(process.env.NODE_ENV·===·"development"` with `········if·(process.env.NODE_ENV·===·'development'`        prettier/prettier
  Line 10:1:   Replace `······if·(msg.type·===·"window.location.reload"` with `············if·(msg.type·===·'window.location.reload'`    prettier/prettier
  Line 11:1:   Replace `········console.log("current·page·will·reload."` with `················console.log('current·page·will·reload.'`  prettier/prettier
  Line 12:1:   Replace `········` with `················`                                                                                prettier/prettier
  Line 13:1:   Insert `······`                                                                                                           prettier/prettier
  Line 14:5:   Insert `····`                                                                                                             prettier/prettier
  Line 15:1:   Insert `··`                                                                                                               prettier/prettier
  Line 18:13:  Replace `"hello·2"` with `'hello·2'`                                                                                      prettier/prettier

Search for the keywords to learn more about each error.```

parthraghav avatar Jan 19 '23 06:01 parthraghav

嘿,伙计!当我使用你的代码时,我遇到了以下错误。我在某个地方读到你不太熟悉英语,所以我正在使用翻译服务来用中文写这个。:)

parthraghav avatar Jan 19 '23 06:01 parthraghav

Hi, Bro! It works for me. Looks like your ESLint settings conflict with me, please try to fix it by IDE or command line.

Godiswill avatar Jan 19 '23 16:01 Godiswill