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.

error after updating to 14.0.11 -> TypeError: Cannot read property 'match' of undefined

See original GitHub issue

TypeError: Cannot read property ‘match’ of undefined

  • ActionHero Version: 14.0.11
  • Node.js Version: 6.3.1
  • nmp Version ‘3.10.5’
  • Operating System Windows 10 aka Windows_NT 10.0.10586

Steps to reproduce your error

  • update actionhero to 14.0.11 on Win 10 (mine was 13.4.4 before)
  • npm start

Stacktrace

TypeError: Cannot read property 'match' of undefined
    at RedisClient.return_error (\node_modules\redis\index.js:601:28)
    at JavascriptReplyParser.RedisClient.reply_parser.Parser.returnError (\node_modules\redis\index.js:151:18)
    at Object.api.utils.hashMerge (\node_modules\actionhero\initializers\utils.js:41:28)
    at Object.api.utils.hashMerge (\node_modules\actionhero\initializers\utils.js:38:28)
    at Object.api.utils.hashMerge (\node_modules\actionhero\initializers\utils.js:43:32)
    at Object.api.utils.hashMerge (\node_modules\actionhero\initializers\utils.js:22:28)
    at Object.api.utils.hashMerge (\node_modules\actionhero\initializers\utils.js:43:32)
    at api.loadConfigDirectory (\node_modules\actionhero\initializers\config.js:120:63)
    at Array.map (native)
    at Object.module.exports.initialize (\node_modules\actionhero\initializers\config.js:169:17)

\node_modules\actionhero\bin\actionhero:222
      throw e;
      ^

Error: Unable to load configurations, errors: {\\config\\redis.js":{"msg":"TypeError: Cannot read property 'match' of undefined"}}
    at api.loadConfigDirectory (\node_modules\actionhero\initializers\config.js:138:19)
    at Array.map (native)
    at Object.module.exports.initialize (\node_modules\actionhero\initializers\config.js:169:17)
    at \node_modules\actionhero\bin\actionhero:211:18
    at Object.module.exports.initialize (\node_modules\actionhero\initializers\utils.js:278:5)
    at Object.<anonymous> (\node_modules\actionhero\bin\actionhero:209:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pici-maspcommented, Jul 29, 2016

Thx I will update my files manually. I am a newb to nodejs so I was looking for a convenient but awesome entry into api programming… so actionhero. A generic Chapter on the github page or documentation about what to do/consider when updating actionhero packages would help.

Keep up the awesome work. If you are curious I am programming a “datacentral” for library data starting with german universities. Opensource actionhero with cluster capabilities could really be something here. So thx.

0reactions
evantahlercommented, Jul 29, 2016

Cool! Please share what you’ve made once it’s up and running!

Read more comments on GitHub >

github_iconTop Results From Across the Web

webpack: Cannot read property 'match' of undefined
Simple answer just run rm -rf package-lock.json.
Read more >
NPM - Cannot read property "match" of undefined
While not a root-cause solution, a workaround is: Delete node_modules and package-lock. json.
Read more >
Cannot read property .match of undefined - Heroku Help
Running an npm command, such as npm install or npm ci , may raise something like this: npm err TypeError: Cannot read property...
Read more >
[BUG] npm ERR! Cannot read property 'match' of undefined
The root cause and the fix for this issue, is probably during npm i it should do a check on the generated package-lock.json...
Read more >
NPM修复Cannot read property 'match' of undefined
NPM修复Cannot read property 'match' of undefined问题。
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