Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug(transloco-scoped-libs): #699

Open
1 task done
FabienDehopre opened this issue Aug 30, 2023 · 1 comment
Open
1 task done

Bug(transloco-scoped-libs): #699

FabienDehopre opened this issue Aug 30, 2023 · 1 comment

Comments

@FabienDehopre
Copy link

FabienDehopre commented Aug 30, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Which Transloco package(s) are the source of the bug?

Scoped Libs

Is this a regression?

Yes

Current behavior

the version 5.x of transloco-scoped-libs cli does not copy any file to the output folder.

Expected behavior

the previous version (3.x) of transloco-scoped-libs does not have any issue copying the translation files to the ouput folder with the exact same configuration (see below).

Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.

N/A

Transloco Config

module.exports = {
  rootTranslationsPath: './apps/logistics-webshop-frontend/src/assets/i18n',
  defaultLang: 'en',
  langs: ['en', 'fr', 'nl'],
  scopedLibs: ['@equans/components', './libs/core'],
};

Please provide the environment you discovered this bug in

Transloco: 5.x
Angular: 16.2
Node: 18.17.0
Package Manager: yarn
OS: Windows 10 (x64)

Browser

No response

Additional context

after some investigation, it appears that you have updated the "glob" dependency to v10 (from v7).
also, the problem does not seem to happen on linux (didn't test it on macos).

I would like to make a pull request for this bug

No

@dfa1234
Copy link
Contributor

dfa1234 commented Nov 12, 2023

I have the same exact bug on the same platform, it's not working on windows, but working in linux and macos, for the same project. With previous version of transloco scoped libs it was working before.

Also I remarked it create the directories at the destination, but they are empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants