question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intl config not being read

See original GitHub issue

At least on Windows (haven’t tested elsewhere), in readConfig function in index.js the config path is wrong

var configPath = path.join(project.root, project.configPath(), '..', 'ember-intl.js');

leads to paths like C:\Project\C:\Project\config\environment\..\ember-intl.js, as project.configPath() returns the full path (in 2.6.0). Intl config file is then not found and read. Changing the line to

var configPath = path.join(project.configPath(), '..', 'ember-intl.js');

fixes the problem.

ember-intl: 2.11.1 ember: 2.6.0.beta.4 ember-cli: 2.6.0-beta.3 node: 6.2.1 os: win32 x64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonmitcommented, Jun 7, 2016

I’ll keep 2.11.2 published since it fixes it for POSIX users, I’ll need to figure out a way to spin up a VM for windows.

0reactions
vlascikcommented, Jun 7, 2016

There should be free VMs here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/windows/ Haven’t tried them, but these should be valid for 90 days, if you create a VM snapshot after the install you can revert to it after the VM expires.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not read Config File - Stack Overflow
I was wondering if someone would be able to have a look and let me know if I am doing something wrong. Please...
Read more >
[React Intl] An `id` must be provided to format a ... - GitHub
Current error message when something got screwed: [React Intl] An id must be provided to format a message. - No line number, no...
Read more >
Configure International Settings in Windows | Microsoft Learn
For information about using DISM to configure international settings in an offline Windows image, see DISM Languages and International Servicing ...
Read more >
Imperative API | Format.JS
This useIntl hook does not expect any option as its argument when being called. Typically, here is how you would like to use:...
Read more >
React Intl | Testing Library
If you're using React-Intl in your project, and you need to load a ... It's not obvious what the text actually is when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found