AppVeyor (Windows) throws `Cannot read property 'toLowerCase' of undefined`
See original GitHub issueVia a chalk 2.0.0 pull request I’m seeing ~300 instances of the following error for stylelint on our Windows AppVeyor builds:
FAIL lib\rules\selector-max-empty-lines\__tests__\index.js
● Test suite failed to run
TypeError: Cannot read property 'toLowerCase' of undefined
at Object.<anonymous> (node_modules/chalk/index.js:8:78)
at Object.<anonymous> (lib/formatters/stringFormatter.js:5:15)
at Object.<anonymous> (lib/formatters/index.js:5:11)
FAIL lib\rules\selector-no-qualifying-type\__tests__\index.js
• chalk ref: https://github.com/chalk/chalk/blob/master/index.js#L8 • stylelint AppVeyor build: https://ci.appveyor.com/project/stylelint/stylelint/build/4476 • stylelint pull request / issue: https://github.com/stylelint/stylelint/pull/2695
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top Results From Across the Web
angular - ng build message "ERROR in Cannot read property ...
The above goes through the Angular build and at the end returns the message "ERROR in Cannot read property 'toLowerCase' of undefined".
Read more >TFS Cannot read property 'toLowerCase' of undefined
Hi,. Actually , we need to notificate via Email to any work items assigned, but not working, anyone know if there're errors or...
Read more >Viewing online file analysis results for 'sfdx-windows-amd64.exe'
sfdx-windows-amd64.exe. This report is generated from a file or URL submitted to this webservice on November 28th 2019 11:52:49 (UTC)
Read more >Manual | Sequelize - ESDoc Hosting Service
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, ...
Read more >licenses.txt - vPOP Pro
notStrictEqual * assert.throws * assert. ... [![Windows Build status](https://img.shields.io/appveyor/ci/paulmillr/chokidar/master.svg?label=Windows)](https ...
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
Woot, works for me, thanks for the speedy turn around chalk’rs, appreciated 😄
Here’s the latest AppVeyor build using chalk 2.0.1:
samesies. Just happened to me. Windows 10 in powershell. Wanted to use that sweet chalk.keyword() 😦
I’ll go back to chalk 1.1.3
EDIT Found some related info in another project https://github.com/cronvel/terminal-kit/issues/12
if I set isSimpleWindowsTerm true or false, it seems to work perfectly fine, thought I am not getting the correct colors if I try rgb for instance. It seems to be matching a color that is close enough.