fabien0102 / gatsby-starter

Gatsby 2.0 starter with typescript and many cools dev tools
386 stars 99 forks source link

Create a new site fails #94

Open bslayerw opened 4 years ago

bslayerw commented 4 years ago

gatsby new gatsby-starter https://github.com/fabien0102/gatsby-starter


info Creating new site from git: https://github.com/fabien0102/gatsby-starter.git
Cloning into 'gatsby-starter'...
remote: Enumerating objects: 88, done.
remote: Counting objects: 100% (88/88), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 1488 (delta 34), reused 46 (delta 9), pack-reused 1400
Receiving objects: 100% (1488/1488), 16.20 MiB | 27.19 MiB/s, done.
Resolving deltas: 100% (894/894), done.
success Created starter directory layout
info Installing packages...
yarn install v1.19.1
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning codeclimate-test-reporter@0.5.1: codeclimate-test-reporter has been deprecated in favor of our new unified test-reporter. Please visit https://docs.codeclimate.com/docs/configuring-test-coverage for details on setting up the new test-reporter.
warning gatsby > babel-plugin-add-module-exports > chokidar > fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
warning gatsby > @reach/router > create-react-context > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
warning gatsby-plugin-offline > workbox-build > joi@11.4.0: 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).
warning gatsby-plugin-offline > workbox-build > joi > hoek@4.2.1: 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).
warning gatsby-plugin-offline > workbox-build > joi > topo@2.0.2: 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).
warning gatsby-plugin-offline > workbox-build > joi > topo > hoek@4.2.1: 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).
warning gatsby-transformer-remark > remark > unified > @types/vfile > @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
warning react-scripts > babel-jest > @jest/transform > jest-haste-map > fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
warning react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
warning @types/storybook__addon-knobs@5.2.0: This is a stub types definition. storybook__addon-knobs provides its own type definitions, so you do not need this installed.
error Couldn't find package "storybook__addon-knobs@*" required by "@types/storybook__addon-knobs@^5.0.0" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

 ERROR

Command failed with exit code 1: yarnpkg

  Error: Command failed with exit code 1: yarnpkg

  - error.js:56 makeError
    [lib]/[gatsby-cli]/[execa]/lib/error.js:56:11

  - index.js:114 handlePromise
    [lib]/[gatsby-cli]/[execa]/index.js:114:26

  - task_queues.js:93 processTicksAndRejections
    internal/process/task_queues.js:93:5
barteksekula commented 4 years ago

Just fork the repo and remove deprecated packages like I did here. https://github.com/barteksekula/gatsby-starter.git https://github.com/barteksekula/gatsby-starter/commit/897c834c118b2c331506b6f2e145384718f76088

Or you can just gatsby new your-new-site https://github.com/barteksekula/gatsby-starter.git

Let me know if it works for you.

lelelove1225 commented 4 years ago

I have same issue. And i trying pull forked repo, it works!