Merge pull request #1979 from node-red/better-npm-check

refuse to enable palette if npm too old
This commit is contained in:
Nick O'Leary
2018-12-05 14:52:28 +00:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -13,7 +13,8 @@
"loading": "Loading palette nodes",
"palette-editor": {
"disabled": "Palette editor disabled : user settings",
"npm-not-found": "Palette editor disabled : npm command not found"
"npm-not-found": "Palette editor disabled : npm command not found",
"npm-too-old": "Palette editor disabled : npm version too old. Requires npm >= 3.x"
},
"errors": "Failed to register __count__ node type",
"errors_plural": "Failed to register __count__ node types",