Giter Site home page Giter Site logo

anubhavsrivastava / gatsby-starter-eventually Goto Github PK

View Code? Open in Web Editor NEW
33.0 4.0 20.0 10.41 MB

Gatsby.js V2 starter template based on Eventually by HTML5 UP

Home Page: https://anubhavsrivastava.github.io/gatsby-starter-eventually/

JavaScript 17.29% SCSS 82.71%
gatsby starter-template html5up gatsbyjs gatsby-starter gatsby-site gatsby-starter-kit

gatsby-starter-eventually's Introduction

gatsby-starter-eventually

Gatsby.js V4 starter template based on eventually by HTML5 UP

For an overview of the project structure please refer to the Gatsby documentation - Building with Components.

Screenshot

Check online preview here

Screenshot

Screenshot

Install

Make sure that you have the Gatsby CLI program installed:

npm install --global gatsby-cli

And run from your CLI:

gatsby new <site-name> https://github.com/anubhavsrivastava/gatsby-starter-eventually

Then you can run it by:

cd gatsby-example-site
npm install
gatsby develop

Personalization

Edit config.js to put up your details

module.exports = {
  siteTitle: 'Gatsby Starter Eventually', // <title>
  ...
  heading: 'Eventually',
  subHeading:
    "A simple template for telling the world when you'll launch your next big thing.",
  socialLinks: [
    {
      icon: 'fa-github',
      name: 'Github',
      url: 'https://github.com/anubhavsrivastava',
    }
    ...
  ],
};

Deploying using Github page

package.json has a default script that uses gh-pages module to publish on Github pages. Simply running npm run deploy would publish the site on github pages.

Additionally, it also has path-prefix value set for gatsby config in config.js. Change pathPrefix to relevant path if your gatsby site is hosted on subpath of a domain, https://theanubhav.com/somePath/. If you are hosting it as root site, i.e, https://theanubhav.com/ , remove the pathPrefix configuration.

Checkout other similar starters

Contribution

Suggestions and PRs are welcome!

Please create issue or open PR request for contribution.

License

Open Source Love

refer LICENSE file in this repository.

gatsby-starter-eventually's People

Contributors

anubhavsrivastava avatar watsonneal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gatsby-starter-eventually's Issues

Fails to create project

Reproduce

gatsby new gatsby-startbootstrap-agency https://github.com/thundermiracle/gatsby-startbootstrap-agency

Errors

info Creating new site from git: https://github.com/thundermiracle/gatsby-startbootstrap-agency.git
Cloning into 'gatsby-startbootstrap-agency'...
remote: Enumerating objects: 165, done.
remote: Counting objects: 100% (165/165), done.
remote: Compressing objects: 100% (143/143), done.
remote: Total 165 (delta 14), reused 114 (delta 7), pack-reused 0
Receiving objects: 100% (165/165), 1.29 MiB | 2.13 MiB/s, done.
Resolving deltas: 100% (14/14), done.
←[32msuccess←[39m Created starter directory layout
←[34minfo←[39m Installing packages...
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: Invalid bin field for "url-loader".
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "[email protected] - 3".
warning " > [email protected]" has unmet peer dependency "popper.js@^1.16.0".
warning "gatsby > [email protected]" has unmet peer dependency "@types/react@^15.0.0 || ^16.0.0".
warning "gatsby > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "gatsby-plugin-sass > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
warning " > [email protected]" has incorrect peer dependency "eslint-plugin-react-hooks@^2.5.0 || ^1.7.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has incorrect peer dependency "eslint-loader@^3.0.2".
[4/4] Building fresh packages...
[-/14] ⠐ waiting...
[-/14] ⠐ waiting...
[7/14] ⠈ node-sass
[-/14] ⠈ waiting...
error C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:175:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:175:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python27\python.EXE
gyp verb check python version `C:\Python27\python.EXE -c "import sys; print "2.7.17
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 14.4.0
gyp verb command install [ '14.4.0' ]
gyp verb install input version string "14.4.0"
gyp verb install installing version: 14.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 14.4.0
gyp verb build dir attempting to create "build" dir: C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created? C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass\build
gyp verb find vs2017 Found installation at: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.VC.Tools.x86.x64
gyp verb find vs2017   - Found Microsoft.VisualStudio.VC.MSBuild.Base
gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.Windows10SDK.18362
gyp verb find vs2017   - Using this installation with Windows 10 SDK
gyp verb find vs2017 using installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.EXE
gyp info spawn args [
gyp info spawn args   'C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=2015',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-sass\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\RKevi\\.node-gyp\\14.4.0\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\RKevi\\.node-gyp\\14.4.0',
gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=C:\\Users\\RKevi\\.node-gyp\\14.4.0\\<(target_arch)\\node.lib',
gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-sass\\build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\RKevi\.node-gyp\14.4.0
gyp verb found first Solution file build/binding.sln
gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:468:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\RKevi\\source\\repos\\gatsby-startbootstrap-agency\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\RKevi\source\repos\gatsby-startbootstrap-agency\node_modules\node-sass
gyp ERR! node -v v14.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in `node-gyp`.





 ERROR

Command failed with exit code 1: yarnpkg



  Error: Command failed with exit code 1: yarnpkg

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

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

  - task_queues.js:97 processTicksAndRejections
    internal/process/task_queues.js:97:5

  - init-starter.js:136 async install
    [npm]/[gatsby-cli]/lib/init-starter.js:136:7

  - init-starter.js:206 async clone
    [npm]/[gatsby-cli]/lib/init-starter.js:206:3

  - init-starter.js:345 async initStarter
    [npm]/[gatsby-cli]/lib/init-starter.js:345:19

  - create-cli.js:400
    [npm]/[gatsby-cli]/lib/create-cli.js:400:7

Environment

  System:
    OS: Windows 10 10.0.19041
    CPU: (4) x64 Intel(R) Core(TM) i7-4610M CPU @ 3.00GHz
  Binaries:
    Node: 14.4.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
  Languages:
    Python: 2.7.17
  Browsers:
    Edge: 44.19041.1.0
  npmGlobalPackages:
    gatsby-cli: 2.12.60

some deprecated with V2

after install and develop your gatsby-starter some package are deprecated.

npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

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]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.