Coder Social home page Coder Social logo

webdev-intro-workshop's Introduction

webdev-intro-workshop's People

Contributors

micorix avatar pltier avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

pltier

webdev-intro-workshop's Issues

gatsby-source-filesystem bug

Co zrobiłem?

yarn upgrade
yarn add yarn
yarn remove yarn 

(add i remove yarn przypadkowo)

BUG

yarn v1.22.10, win10, mam nvm

BUG występuję po (w trakcie czasami) zbuildowaniu! Czasami od razu, czasami chwilę po. (strange?)

Problem z gatsby-source-filesystem, więc może najlepiej bym to zrobił na Linuxie.

C:\Users\PLtier\Documents\prezka HC\webdev-intro-workshop>yarn start
yarn run v1.22.10
warning package.json: No license field
$ mdx-deck deck.mdx
info Deleting .cache, public, C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\mdx-deck\node_modules\.cache\babel-loader,        
C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\mdx-deck\node_modules\.cache\terser-webpack-plugin
info Successfully deleted directories

success open and validate gatsby-configs - 0.116s
success load plugins - 0.403s
success onPreInit - 0.025s
success initialize cache - 0.007s
success copy gatsby files - 0.152s
success onPreBootstrap - 0.026s
success createSchemaCustomization - 0.002s
success Checking for changed pages - 0.002s
success source and transform nodes - 0.257s
success building schema - 0.292s
info Total nodes: 102, SitePage nodes: 2 (use --verbose for breakdown)
success createPages - 0.011s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.043s
success update schema - 0.022s
success write out redirect data - 0.003s
success onPostBootstrap - 0.002s
info bootstrap finished - 5.496s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.216s
success write out requires - 0.028s
success run page queries - 0.041s - 2/2 48.42/s
⠀
You can now view mdx-deck in the browser.
⠀
  http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
  http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use gatsby build
⠀
success Building development bundle - 7.297s
info added file at C:\Users\PLtier\Documents\prezka HC\webdev-intro-workshop\.git\index.lock
Failed to validate error Error [ValidationError]: "errno" is not allowed. "syscall" is not allowed.
"path" is not allowed
    at Object.exports.process (C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\@hapi\joi\lib\errors.js:202:19)
    at internals.Object._validateWithOptions (C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\@hapi\joi\lib\types\any\index.js:763:31)
    at internals.Object.validate (C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\@hapi\joi\lib\types\any\index.js:797:21)
    at constructError (C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\gatsby-cli\lib\structured-errors\construct-error.js:52:32)    
    at Reporter.error (C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\gatsby-cli\lib\reporter\reporter.js:135:59)
    at Object.error (C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\gatsby\src\utils\api-runner-node.js:202:16)
    at C:\Users\PLtier\Documents\prezka
HC\webdev-intro-workshop\node_modules\gatsby-source-filesystem\gatsby-node.js:157:58 {
  isJoi: true,
  details: [
    {
      message: '"errno" is not allowed',
      path: [Array],
      type: 'object.allowUnknown',
      context: [Object]
    },
    {
      message: '"syscall" is not allowed',
      path: [Array],
      type: 'object.allowUnknown',
      context: [Object]
    },
    {
      message: '"path" is not allowed',
      path: [Array],
      type: 'object.allowUnknown',
      context: [Object]
    }
  ],
  _object: {
    context: {},
    errno: -4058,
    code: 'ENOENT',
    syscall: 'stat',
    path: 'C:\\Users\\PLtier\\Documents\\prezka HC\\webdev-intro-workshop\\.git\\index.lock',
    pluginName: 'gatsby-source-filesystem',
    text: 'There was an error',
    level: 'ERROR',
    stack: [],
    docsUrl: 'https://gatsby.dev/issue-how-to'
  },
  annotate: [Function (anonymous)]
}

Error: Command failed with exit code 1: gatsby develop --host localhost --port 8000 --open
    at makeError (C:\Users\PLtier\Documents\prezka HC\webdev-intro-workshop\node_modules\execa\lib\error.js:59:11)
    at handlePromise (C:\Users\PLtier\Documents\prezka HC\webdev-intro-workshop\node_modules\execa\index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

C:\Users\PLtier\Documents\prezka HC\webdev-intro-workshop>

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.