effor while building modern web interface

Bijaya guragain2 years ago

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

Module not found: Error: Can't resolve '../../resources/l10n/af.json' in 'Z:\git\traccar\traccar-web\modern\src\common\components'
Anton Tananaev2 years ago

Looks like you're using Windows and it didn't handle correctly symbolic reference to the folder with localization files. I guess you'll have to fix that manually.

Bijaya guragain2 years ago

can you please tell me how to fix it manually?

Anton Tananaev2 years ago

You fix the symlink to point to the l10n folder in the web app.

cristian2 years ago

Hi Anton I have the same problem I can´t find the file af.json at

/resources/l10n/af.json

I´m bulding the project on windows

Anton Tananaev2 years ago

Probably the same answer.

cristian2 years ago

Could you please Explainme how do I have to point If I can´t find the file af.json

cristian2 years ago

I have checked the od version and there is a file af.json but in modern interface doesn´t exist

Anton Tananaev2 years ago

Do you have the symlink? Have you checked it? Do you know what it is?