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.

Cannot find module '../i18n/undefined.json'

See original GitHub issue

Please use this template only if issue related to Error / Unexpected behavior
Please use suitable tags

Step to reproduce

  1. Update to atom-discord v2.0.0
  2. Restart Atom

Stacktrace

Error: Cannot find module '../i18n/undefined.json'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (~\AppData\Local\atom\app-1.32.1\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:154368)
    at Module.require (file:///~/AppData/Local/atom/app-1.32.1/resources/app.asar/static/index.js:40:43)
    at require (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:145675)
    at Object.<anonymous> (~\.atom\packages\atom-discord\src\index.js:39:10)
    at Object.<anonymous> (~\.atom\packages\atom-discord\src\index.js:336:3)
    at Module.get_Module._compile (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:146385)
    at Object.value [as .js] (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:149932)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (file:///~/AppData/Local/atom/app-1.32.1/resources/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:1:622321)
    at Package.requireMainModule (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:3044031)
    at measure (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:3030742)
    at Package.measure (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:3029574)
    at Package.load (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:3030315)
    at PackageManager.loadAvailablePackage (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:378592)
    at config.transact (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:377015)
    at Config.transact (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:329551)
    at PackageManager.loadPackages (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:11:376953)
    at t.loadState.then (~\AppData\Local\atom\app-1.32.1\resources\app\static\<embedded>:1:642340)
    at <anonymous>

Information

Platform: Microsoft Windows 10 Home 10.0.17134 Build 17134 Atom: 1.32.1 Package Version: v2.0.0

Non-Core Packages

Community Packages (15) ~\.atom\packages
β”œβ”€β”€ atom-discord@2.0.0
β”œβ”€β”€ atom-html-preview@0.2.5
β”œβ”€β”€ atom-live-server@2.3.0
β”œβ”€β”€ atom-material-syntax@1.0.8
β”œβ”€β”€ atom-material-ui@2.1.3
β”œβ”€β”€ atom-ternjs@0.18.3
β”œβ”€β”€ file-icons@2.1.26
β”œβ”€β”€ minimap@4.29.9
β”œβ”€β”€ minimap-cursorline@0.2.0
β”œβ”€β”€ minimap-find-and-replace@4.5.2
β”œβ”€β”€ minimap-pigments@0.2.2
β”œβ”€β”€ pigments@0.40.2
β”œβ”€β”€ sync-settings@0.8.6
β”œβ”€β”€ teletype@0.13.3
└── wakatime@7.0.7

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
akireeecommented, Nov 5, 2018

Can confirm this is fixed in 2.0.1

2reactions
Aimarekincommented, Nov 4, 2018

@devakira @KingFaris10

This issue is already known, 2.0 is currently unstable, please switch back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

2 - Stack Overflow
javascript - Error - "Cannot find module ./en. json" using vue-i18n plugin - Stack Overflow. Stack Overflow for Teams – Start collaborating and...
Read more >
i18n - npm
Lightweight simple translation module with dynamic JSON storage. Supports plain vanilla Node.js apps and should work with any framework (likeΒ ...
Read more >
How to translate your Angular app with ngx-translate
1. Add ngx-translate to your Angular application 2. Set up the TranslateService in your app.module.ts 3. Create your main language translation file (in...
Read more >
Cannot find module 'X' error in Node.js | bobbyhadz
If the error is not resolved, try to delete your node_modules and package-lock.json (not package.json ) files, re-run npm install and restart your...
Read more >
Error occured when using now-cli develop in the terminal
Error : Cannot find module '@servicenow/cli-component-archetype/package.json'. I've installed the package in the project folder and I canΒ ...
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