Build failed with error code: 1 This module is no longer maintained, try this instead:

  angular, node.js, npm-install

Boa tarde pessoal, alguém me ajuda por favor!
Estou tentando instalar através do (npm), as dependências de um projeto de baixei no GitHub, porém ao executar o comando (npm install) tenho o seguinte retorno.

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '0.10 || 0.12 || 4 || 5 || 6' },
npm WARN EBADENGINE   current: { node: 'v16.0.0', npm: '7.11.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '0.10 || 0.12 || 4 || 5 || 6' },
npm WARN EBADENGINE   current: { node: 'v16.0.0', npm: '7.11.2' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp             DoS issue
npm WARN deprecated [email protected]: request has been deprecated
npm WARN deprecated [email protected]: request has been deprecated
npm WARN deprecated [email protected]: request has been deprecated    
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with     15x less dependencies.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: Please use the native JSON object instead of JSON 3
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi     support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug     fixes, and security patches. If you are unable to upgrade at this time, paid support is available for     older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as     this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines     at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support     policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and     security patches. If you are unable to upgrade at this time, paid support is available for older versions     (hapi.im/commercial).
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support     policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and     security patches. If you are unable to upgrade at this time, paid support is available for older versions     (hapi.im/commercial).
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with     15x less dependencies.
npm WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as     this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config     used in other tools.
npm WARN deprecated [email protected]: request has been deprecated, see     
npm WARN deprecated [email protected]: Deprecated. Please use     
npm WARN deprecated [email protected]: out of support
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated @angular/[email protected]: Package no longer supported. Use @angular/common instead,     see https://angular.io/guide/deprecations#angularhttp
npm WARN deprecated [email protected]: [email protected]<3.3 is no longer maintained and not recommended for usage     due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions     could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the     actual version of core-js.
npm ERR! code 1
npm ERR! path c:UsersJefter AlvesDocumentsportifoliomeat-app-starternode_modulesnode-sass
npm ERR! command failed
npm ERR! command C:Windowssystem32cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:Program Filesnodejsnode.exe c:UsersJefter AlvesDocumentsportifoliomeat-    app-starternode_modulesnode-gypbinnode-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --    libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:Program Filesnodejsnode.exe',
npm ERR! gyp verb cli   'c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_modulesnode-gypbinnode-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb `which` failed Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (c:UsersJefter     AlvesDocumentsportifoliomeat-app-starternode_moduleswhichwhich.js:13:12)
npm ERR! gyp verb `which` failed     at F (c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_moduleswhichwhich.js:68:19)
npm ERR! gyp verb `which` failed     at E (c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_moduleswhichwhich.js:80:29)
npm ERR! gyp verb `which` failed     at c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_moduleswhichwhich.js:89:16
npm ERR! gyp verb `which` failed     at c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_modulesisexeindex.js:42:5
npm ERR! gyp verb `which` failed     at c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_modulesisexewindows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:194:21)
npm ERR! gyp verb `which` failed  python2 Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (c:UsersJefter     AlvesDocumentsportifoliomeat-app-starternode_moduleswhichwhich.js:13:12)
npm ERR! gyp verb `which` failed     at F (c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_moduleswhichwhich.js:68:19)
npm ERR! gyp verb `which` failed     at E (c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_moduleswhichwhich.js:80:29)
npm ERR! gyp verb `which` failed     at c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_moduleswhichwhich.js:89:16
npm ERR! gyp verb `which` failed     at c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_modulesisexeindex.js:42:5
npm ERR! gyp verb `which` failed     at c:UsersJefter AlvesDocumentsportifoliomeat-app-    starternode_modulesisexewindows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:194:21) {
npm ERR! gyp verb `which` failed   code: 'ENOENT'
npm ERR! gyp verb `which` failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb `which` succeeded python C:UsersJefter     AlvesAppDataLocalProgramsPythonPython39python.EXE
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:UsersJefter     AlvesAppDataLocalProgramsPythonPython39python.EXE -c import sys; print "%s.%s.%s" %                 sys.version_info[:3];
npm ERR! gyp ERR! stack   File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                       ^
npm ERR! gyp ERR! stack SyntaxError: invalid syntax
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:326:12)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:365:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1067:16)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit     (node:internal/child_process:301:5)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:Program Filesnodejsnode.exe" "c:UsersJefter     AlvesDocumentsportifoliomeat-app-starternode_modulesnode-gypbinnode-gyp.js" "rebuild" "--    verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd c:UsersJefter AlvesDocumentsportifoliomeat-app-starternode_modulesnode-    sass
npm ERR! gyp ERR! node -v v16.0.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersJefter AlvesAppDataLocalnpm-cache_logs21-05-08T15_24_10_418Z-debug.log

Sou iniciante em programação, vi que é um problema de versão, mas não tenho noção de como resolver, se alguém puder me ajudar, agradeço enormemente!

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.