error after updating to 14.0.11 -> TypeError: Cannot read property 'match' of undefined
See original GitHub issueTypeError: 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:
- Created 7 years ago
- Comments:9 (7 by maintainers)
Top 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 >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
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.
Cool! Please share what you’ve made once it’s up and running!