A
A
Anatoly2021-06-08 21:25:25
npm
Anatoly, 2021-06-08 21:25:25

How to get rid of errors when installing the Gatsby starter template?

Tried installing blog starter

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


Tried to create a new site from scratch without a starter.

gatsby new mysitename

When creating a new Gatsby project, I get a notification in the console found 26 vulnerabilities (11 moderate, 15 high) . What can be done to get rid of these vulnerabilities?

Specifications
  • Windows 10
  • Node v14.17.0
  • NPM 6.14.13


Globally installed packages:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]1.22.10


Full console output

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...


> [email protected] 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

> [email protected] 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 -)


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


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


> [email protected] postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\gatsby-telemetry
> node src/postinstall.js || true


> [email protected] 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

> [email protected] 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

> [email protected] postinstall C:\Users\Anthony\Desktop\New folder\New folder\my-gatsby-project\node_modules\gatsby\node_modules\gatsby-cli
> node scripts/postinstall.js


> [email protected] 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: [email protected] (node_modules\webpack-dev-server\node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: 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

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question