cosmiconfig requires at least version 4 of Node, please upgrade :'4' < '8.99' true '4' < '10.xx' false
See original GitHub issuevar index$48 = function (pkg) {
var requiredVersion = pkg.engines.node.replace(">=", ""); // '4'
var currentVersion = process.version.replace("v", ""); // '10.x' '11'
if (currentVersion < requiredVersion) {
console.error(
"%s requires at least version %s of Node, please upgrade",
pkg.name,
requiredVersion
);
process.exit(1);
}
};
index$48()
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Node version needs upgrading?? but its higher than what its ...
The current version of @vue/cli-service requires "node": "^12.0.0 || >= 14.0.0". but the error message doesn't show that for some reason.
Read more >From v27 to v28 - Jest
Upgrading Jest from v27 to v28? This guide aims to help refactoring your configuration and tests.
Read more >license_scanning (#2758) · Jobs · osm / NG-UI · GitLab
Returns null if there is no such active transition on the specified node. This method is useful for creating chained transitions.
Read more >Upgrade from v0.6.1 to v1.17.0 (latest) - NodeBB
For this method when I run "nodebb start" or "nodebb upgrade -s" getting ... versions of Node.js npm WARN deprecated minimatch@0.3.0: Please ......
Read more >The newest update to 2.x. Cocos Creator 2.4.10 is available
We will continue to provide critical bug fixes through 2022, as planned, for the official release of version 3.0. These fixes will be...
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 Free
Top 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
Which is actually seems to be solved in prettier@1.7.1 and I only needed to
npm i -D prettier@1.7.1
.But how are everyone expect to solve this? Like me step through
CHANGELOG.md
? Isn’t there a service likenpm audit
but for this kind of things. like found 1 error in your build system (1 awful, 0 moderate, 0 low). runnpm wtf fix
to fix them, ornpm wtf
for details. and when I runnpm wtf
I get:That would be awesome 😃 @zkat
@j-f1
Hello! I have this issue & I have
^1.7.0
in mypackage.json
which is resolved to:and when I search in prettier’s package source code, I see:
"please-upgrade-node":"^3.0.1"