Closed swissspidy closed 6 months ago
I checked this PR in my local setup. npm install
and our other node scripts are also working as expected.
@mukeshpanchal27 This error seems to appear in trunk
also. But composer run-script phpstan
is working as expected.
PHPStan has nothing to do with Node.
This particular error is ignored in PHPStan FWIW, https://github.com/WordPress/plugin-check/blob/72f3eb321cf1cd05c234367443da1ccdfd90bcd5/phpstan.neon.dist#L17-L23
So you should not encounter it. I don't get any errors on trunk
at least.
But again, not related to do this PR.
See https://make.wordpress.org/core/2023/12/20/updating-wordpress-to-use-more-modern-versions-of-node-js-npm-2/