Oniro migration: cspell image Unsupported engine
build log
7 [3/3] RUN npm install --global cspell
#7 12.59 npm WARN EBADENGINE Unsupported engine {
#7 12.59 npm WARN EBADENGINE package: 'cspell@6.12.0',
#7 12.59 npm WARN EBADENGINE required: { node: '>=14' },
#7 12.59 npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
#7 12.59 npm WARN EBADENGINE }
#7 12.59 npm WARN EBADENGINE Unsupported engine {
#7 12.59 npm WARN EBADENGINE package: '@cspell/cspell-pipe@6.12.0',
#7 12.59 npm WARN EBADENGINE required: { node: '>=14' },
#7 12.59 npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
#7 12.59 npm WARN EBADENGINE }
#7 12.59 npm WARN EBADENGINE Unsupported engine {
#7 12.59 npm WARN EBADENGINE package: 'cspell-gitignore@6.12.0',
#7 12.59 npm WARN EBADENGINE required: { node: '>=14' },
#7 12.59 npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
#7 12.59 npm WARN EBADENGINE }
#7 12.59 npm WARN EBADENGINE Unsupported engine {
while running
$ cspell lint '**/*.go' '**/*.md' '**/*.yaml' '**/*.json' '**/*.txt' '**/*.log' '**/*.mk' Makefile '.tours/*.tour' 'man/*.in'
/usr/local/lib/node_modules/cspell/dist/app.js:26
.argParser((value, prev) => prev?.concat(value) || [value]);
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)