stuck at `Initializing loader "..."`
See original GitHub issueDescribe the bug
stuck at Initializing loader "..."
Extension Version 2.3.17
Framework/i18n package you are using react/i18next
To Reproduce Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’=
- See error
Device Infomation
- OS: Windows
- Version: 10
- VS Code Version: 1.49.0
Extension Log
Go to View
-> Output
-> i18n Ally
, and paste the content below. You should mask any sensitive information
Output
🈶 Activated, v2.3.17
――――――
💼 Workspace root changed to "path/to/project_root"
🌞 Enabled
🧩 Enabled frameworks: React
🧬 Enabled parsers: json, yaml, json5
🚀 Initializing loader "path/to/project_root"
Developer Tools
stack trace: RangeError: Incorrect locale information provided
at Object.getCanonicalLocales (<anonymous>)
at BCP47.lookup (.././src/tagSystems/bcp47.ts:28:32)
at eval (.././src/core/loaders/LocaleLoader.ts:138:75)
at Array.map (<anonymous>)
at LocaleLoader.guessDirStructure (.././src/core/loaders/LocaleLoader.ts:138:14)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async LocaleLoader.init (.././src/core/loaders/LocaleLoader.ts:80:35)
at async Function.initLoader (.././src/core/Global.ts:197:9)
at async Function.update (.././src/core/Global.ts:276:13)
Addition
settings.json
{
"i18n-ally.enabledFrameworks": ["react"],
"i18n-ally.namespace": true,
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["packages/locales"],
"i18n-ally.pathMatcher": "{locale}/{namespace}.json",
"i18n-ally.sourceLanguage": "en",
"i18n-ally.sortKeys": true,
}
project with yarn workspace
"workspaces": [
...,
"packages/*"
],
files under packages/locales
packages/locales/{en|zh-CN}/{namespace}.json
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Data Loader stuck at 'initializing records' - Salesforce Help
Data Loader encounters an error at the 'initializing records' stage if the CSV contains blank columns or rows. Data Loader takes a long...
Read more >Computer Stops at "Initializing Loader" After Encrypting
1, the screen stops and "Initializing Loader" is displayed after rebooting the computer. Stage-2 Initializing Loader. Cause. This occurs when ...
Read more >CS:GO stuck on Initializing World [Working fix]
If CSGO is stuck on the loading screen, you need to first need to make sure that the game is getting an ample...
Read more >Data Loader stuck at Initializing Salesforce Object and CSV ...
My data loader is stuck on the screen where the header says 'Data Selection' and the body says Initializing Salesforce object and CSV...
Read more >How to Fix CS:GO Stuck on Initializing World Issue? - Appuals
CS:GO can also get stuck at the loading screen if you do not have enough disk space to store more CS: GO game...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
"i18n-ally.ignoreFiles": ["node_modules/**"]
resolve the problem. thanksthere is other folders like
node_modules
under locales, asnode_modules
is NOT a valid locale code.