Mike McCready

Results 2194 comments of Mike McCready

It's not necessary to install anything with npm to provoke the `ExperimentalWarning`. For example, even with no npm modules installed, executing `npm view npm version` results in the `ExperimentalWarning`: ```text...

Setting the environment variable `NODE_OPTIONS='--trace-warnings'` produces some trace output. ```text $ NODE_OPTIONS='--trace-warnings' npm view npm view (node:6610) ExperimentalWarning: Support for loading ES Module in require() is an experimental feature and...

@RedYetiDev > FYI the ESM being `require()`d is `supports-color`. You're right! https://github.com/npm/cli/blob/780afc50e3a345feb1871a28e33fa48235bc3bd5/package.json#L113 where [[email protected]](https://github.com/chalk/supports-color/releases/tag/v9.0.0) and above is pure ESM - As identified by @ljharb in https://github.com/debug-js/debug/issues/975 and relayed above by...

- To test, I downgraded to [[email protected]](https://github.com/npm/cli/releases/tag/v9.7.1) prior to PR https://github.com/npm/cli/pull/6556 in [[email protected]](https://github.com/npm/cli/releases/tag/v9.7.2) ```shell npm install [email protected] -g ``` and there was no more warning under Node.js `v23.0.0` from ```shell...

Under Node.js `v23.1.0` the warning provides additional debugging information which confirms the previous analysis: ```text $ npm view npm version (node:13088) ExperimentalWarning: CommonJS module /home/mike/n/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /home/mike/n/lib/node_modules/npm/node_modules/supports-color/index.js...

@deleonjulio > Out of nowhere, npm install and npm start doesnt work in my project. I have to downgrade my node version to make it work. That sounds like a...

This issue should be closed, as now Cypress `>=12

@dklimpel ```markdown [Item 1](#item-one) [Item 2](#item-two) Item 1 target Item 2 target ``` resulted in ```text $ npx markdown-link-check anchor-in-html-test.md FILE: anchor-in-html-test.md [✓] #item-one [✖] #item-two 2 links checked. ERROR:...

@dklimpel > Single quotes were not yet in the scope. Do you plan to add them in this PR? It may be confusing to have only double quotes working if...