Failed to compile. src/locales/cs/core.js Line 149:50: Delete ⏎······· #343

Closed
opened 2026-02-04 18:37:43 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @timdonovanuk on GitHub (Jul 31, 2023).

Hi,

Trying to do a manual instal on Deb 11. Fails at npm run build with a not so useful error:

planka@lxc-planka:/var/www/planka/client$ npm run build

> build
> react-app-rewired build

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Failed to compile.

[eslint] 
src/locales/cs/core.js
  Line 149:50:  Delete `⏎·······`  prettier/prettier

Search for the keywords to learn more about each error.

Any help appreciated, thanks!

Originally created by @timdonovanuk on GitHub (Jul 31, 2023). Hi, Trying to do a manual instal on Deb 11. Fails at npm run build with a not so useful error: ``` planka@lxc-planka:/var/www/planka/client$ npm run build > build > react-app-rewired build Creating an optimized production build... Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme Failed to compile. [eslint] src/locales/cs/core.js Line 149:50: Delete `⏎·······` prettier/prettier Search for the keywords to learn more about each error. ``` Any help appreciated, thanks!
Author
Owner

@timdonovanuk commented on GitHub (Jul 31, 2023):

When I look at file src/locales/cs/core.js in my terminal it looks totally broken and nothing like the file shown in github in my browser...I guess I'm having some weird hungarian encoding issue? How do I disable this, I only care for English.

@timdonovanuk commented on GitHub (Jul 31, 2023): When I look at file src/locales/cs/core.js in my terminal it looks totally broken and nothing like the file shown in github in my browser...I guess I'm having some weird hungarian encoding issue? How do I disable this, I only care for English.
Author
Owner

@timdonovanuk commented on GitHub (Jul 31, 2023):

I removed all locales from client/src/locales/index.js except en.

Still didn't work.

rm -rf src/locales/cs/core.js

works!

@timdonovanuk commented on GitHub (Jul 31, 2023): I removed all locales from `client/src/locales/index.js` except en. Still didn't work. `rm -rf src/locales/cs/core.js` works!
Author
Owner

@meltyshev commented on GitHub (Jul 31, 2023):

Hi! Thanks for reporting this. You are right, there is a linting issue in this file. I'll fix it in the next commit.

@meltyshev commented on GitHub (Jul 31, 2023): Hi! Thanks for reporting this. You are right, there is a linting issue in this file. I'll fix it in the next commit.
Author
Owner

@timdonovanuk commented on GitHub (Jul 31, 2023):

Thank you :)

@timdonovanuk commented on GitHub (Jul 31, 2023): Thank you :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#343