Как избавиться от ошибок при установке стартового шаблона Gatsby?

Пробовал установить стартер для блога

gatsby new my-gatsby-project https://github.com/gatsbyjs/gatsby-starter-blog


Пробовал создать новый сайта с нуля без стартера

gatsby new mysitename

При создании нового проекта Gatsby получаю уведомление в консоли found 26 vulnerabilities (11 moderate, 15 high). Что можно сдалать чтобы избавиться от этих vulnerabilities?

Технические характеристики
  • Windows 10
  • Node v14.17.0
  • NPM 6.14.13


Глобально установленные пакеты:
  • gatsby-cli@3.6.0
  • eslint@7.28.0
  • jshint@2.13.0
  • eslint@7.28.0
  • typescript@4.3.2
  • yarn@1.22.10


Полный вывод в консоли

info Creating new site from git: https://github.com/gatsbyjs/gatsby-starter-blog.git

Cloning into 'my-gatsby-project'...
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 41 (delta 1), reused 27 (delta 1), pack-reused 0R
Receiving objects: 100% (41/41), 1.24 MiB | 5.22 MiB/s, done.
Resolving deltas: 100% (1/1), done.
←[2K←[1A←[2K←[G←[32msuccess←[39m Created starter directory layout

←[2K←[1A←[2K←[G←[34minfo←[39m Installing packages...


> sharp@0.28.3 install C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Using cached C:\Users\Anthony\AppData\Roaming\npm-cache\_libvips\libvips-8.10.6-win32-x64.tar.br
sharp: Creating C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\sharp\build\Release
sharp: Copying DLLs from C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\sharp\vendor\8.10.6\lib to C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\sharp\build\Release

> core-js@2.6.12 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\babel-runtime\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js@3.13.1 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"


> core-js-pure@3.13.1 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> gatsby-telemetry@2.6.0 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\gatsby-telemetry
> node src/postinstall.js || true


> mozjpeg@7.1.0 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\mozjpeg
> node lib/install.js

  √ mozjpeg pre-build test passed successfully

> pngquant-bin@6.0.0 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\pngquant-bin
> node lib/install.js

  √ pngquant pre-build test passed successfully

> gatsby-cli@3.6.0 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\gatsby\node_modules\gatsby-cli
> node scripts/postinstall.js


> gatsby@3.6.2 postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\gatsby
> node scripts/postinstall.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 2321 packages from 1124 contributors and audited 2324 packages in 38.033s

258 packages are looking for funding
  run `npm fund` for details

found 26 vulnerabilities (11 moderate, 15 high)
info Initialising git in my-gatsby-project

info Create initial git commit in my-gatsby-project
info
Your new Gatsby site has been successfully bootstrapped. Start developing it by running:

  cd my-gatsby-project
  gatsby develop
  • Вопрос задан
  • 101 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы