lokalise / i18n-ally

🌍 All in one i18n extension for VS Code
https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally
MIT License
3.89k stars 307 forks source link

Error at init: "Error: getaddrinfo ENOTFOUND heapanalytics.com" #741

Open Kapcash opened 2 years ago

Kapcash commented 2 years ago

Describe the bug

From the VS Code "i18n Ally" output, I have this message:

🈶 Activated, v2.8.1

――――――

💼 Workspace root changed to "/Users/.../my-project"
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🌞 Enabled
🧩 Enabled frameworks: Vue, General, Vue SFC
🧬 Enabled parsers: json, yaml, json5

📈 Telemetry id: 5cba7fa4-d3d9-4033-adf6-7cc1648da2f3
🚀 Initializing loader "/Users/.../my-project"
🐛 ERROR: Error: getaddrinfo ENOTFOUND heapanalytics.com
Error: getaddrinfo ENOTFOUND heapanalytics.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
[object Object]

So the extension crashes and doesn't work.

Extension Version

i18n ally v2.8.1

Framework/i18n package you are using

@nuxtjs/i18n 7.2.0 (with nuxt 2.15.8)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'=
  3. See error

Device Infomation

Kapcash commented 2 years ago

I does not appear to be a network related error, since I have another nuxt project (same versions) where the extension works without any problem.

On this working project, the difference I see is that the underlying package "@intlify/vue-i18n-loader" has been manually updated to version "2.1.2". Updating it on the project where it doesn't work doesn't seem to fix the problem.