Client build error #195

Closed
opened 2026-02-04 17:48:09 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @mzch on GitHub (May 21, 2022).

On v1.1.4 the following error occurrs when npm run client:build.

> build
> react-scripts build

Creating an optimized production build...
Failed to compile.

Module not found: Error: Can't resolve 'date-fns/locale/se' in '/srv/planka/planka/client/src/locales/se'

Yes. date-fns package doesn't have locale se.

Originally created by @mzch on GitHub (May 21, 2022). On `v1.1.4` the following error occurrs when `npm run client:build`. ``` > build > react-scripts build Creating an optimized production build... Failed to compile. Module not found: Error: Can't resolve 'date-fns/locale/se' in '/srv/planka/planka/client/src/locales/se' ``` Yes. `date-fns` package doesn't have locale `se`.
Author
Owner

@meltyshev commented on GitHub (May 21, 2022):

Yep, already fixed 👌 Trying to make a release...

@meltyshev commented on GitHub (May 21, 2022): Yep, already fixed 👌 Trying to make a release...
Author
Owner

@mzch commented on GitHub (May 21, 2022):

Fixed. Thanks! :)

@mzch commented on GitHub (May 21, 2022): Fixed. Thanks! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#195