profile
viewpoint

startedaakashbhadana/The-Wall

started time in 5 days

issue commentfacebook/react

'this' becomes undefined when called from onClick inside a class that extends React.Component

In my case, for a stateless component that received the ref with forwardRef, I had to do what it is said here https://itnext.io/reusing-the-ref-from-forwardref-with-react-hooks-4ce9df693dd

From this (onClick doesn't have access to the equivalent of 'this')

const Com = forwardRef((props, ref) => {
  return <input ref={ref} onClick={() => {console.log(ref.current} } />
})

To this (it works)

const Com = forwardRef((props, ref) => {
  const innerRef = React.useRef(ref)
  return <input ref={innerRef } onClick={() => {console.log(innerRef.current} } />
})
go1t

comment created time in 8 days

issue openedterrylinooo/githuber-md

Is there a way to export/import posts between 2 WP sites?

I've just tried to export all posts from my remote WP and import them in my local WP, but I've seen that the imported posts are html

Is there any recommended way to do this?

created time in 13 days

issue commentterrylinooo/githuber-md

How can we retrieve the md content through rest api?

*Thanks for replying so fast

Decoding as this

$wp_post = get_page_by_title('post title', OBJECT, 'post');
$content = html_entity_decode(get_post_field('post_content_filtered', $wp_post->ID, 'edit'), ENT_QUOTES | ENT_HTML5, 'UTF-8'));

seems to work

But looking at the comments at https://www.php.net/manual/en/function.html-entity-decode.php doesn't seem to be a standardized solution (?)

kuworking

comment created time in 13 days

issue openedterrylinooo/githuber-md

How can we retrieve the md content through rest api?

I'm trying to get the post content in markdown through the rest api, but I'm unable to do this

I've tried

$wp_post = get_page_by_title('post title', OBJECT, 'post');
$content = get_post_field('post_content_filtered', $wp_post->ID, 'edit'));

But I receive data like this

"&lt;hr /&gt;
&lt;h2&gt;type: &#039;recipe&#039;
date: 2019-12-20
...

Can I fetch the data as I can see it with the plugin editor?

created time in 13 days

issue commentatlassian/react-beautiful-dnd

Simple example, works on sandbox, doesn't on GatsbyJS (?)

I may have solved it by changing this

{elements.map((col, i) => (
--    <Droppable droppableId={col.columnId} key={i}>
++    <Droppable droppableId={col.columnId} key={col.columnId}>

and

col.items.map((post, j) => (
--    <Draggable draggableId={post.id} index={j} key={j}>
++    <Draggable draggableId={post.id} index={j} key={post.id}>

Does it make sense?

kuworking

comment created time in 14 days

issue commentatlassian/react-beautiful-dnd

Simple example, works on sandbox, doesn't on GatsbyJS (?)

I've prepared the repo, and actually it doesn't work even without the components issue that I've mentioned earlier

So in summary, I don't know why this code doesn't work (when running in Gatsby)

git clone https://github.com/kuworking/gatsby-beautiful-dnd
yarn
gatsby develop

Visit localhost:8000 and once you start moving the items you'll soon see warnings and non-working drag-n-drop experience

(you need NodeJS and run npm install -g gatsby-cli if it's your first gatsby site, https://www.gatsbyjs.org/tutorial/part-zero/)

kuworking

comment created time in 14 days

issue commentatlassian/react-beautiful-dnd

Simple example, works on sandbox, doesn't on GatsbyJS (?)

Hi @alexreardon, indeed now I find this behavior on one website I'm working on, and this is indeed problematic:

I am depicting a component called <Card> that is defined in a file where all types of Cards are defined

But I'm finding this sort-of-bug that react-beautiful-dnd cannot find the draggables (that have correct id's)

Unable to find draggable with id: post-6

So now I guess I'll have to define this type of Card in the same main component I'm defining the drag-n-drop stuff, which means the logic encapsulation is gone

If that's something you want to jump in, I'm more than happy to prepare a gatsby starter that can reproduce this behavior, in any case I need to say a big thanks for your work with this library :)

kuworking

comment created time in 14 days

issue closedatlassian/react-beautiful-dnd

Simple example, works on sandbox, doesn't on GatsbyJS (?)

I am trying to use the library with a GatsbyJS site, and I am having problems with the behavior

I was running out of ideas so I decided to ask here, and I made a sandbox version

https://codesandbox.io/s/using-react-beautiful-dnd-with-hooks-bfwzl?fontsize=14&hidenavigation=1&theme=dark

The surprise is that the code works well in the sandbox

And I am using the exactly same code in local, but within a GatsbyJS development

This is as simple as it can gets (the same code in index.js except for the pure React part), but once I move an item, if I try to move the same item I cannot, and get this warning

image

I can do a github repo if useful, but before I wanted to ask whether it is something known or if there's something I'm missing here

Thanks,

closed time in 15 days

kuworking

issue commentatlassian/react-beautiful-dnd

Simple example, works on sandbox, doesn't on GatsbyJS (?)

Closing it, it is solved by moving the components inside the app

From

  const Columns = ({ arr }) =>
    arr.map((col, i) => (
      <Droppable droppableId={col.columnId} key={i}>
        {(provided, snapshot) => (
          <Ul ref={provided.innerRef}>
            <Elements arr={col.items} />
            {provided.placeholder}
          </Ul>
        )}
      </Droppable>
    ))

  const Elements = ({ arr }) =>
    arr.map((el, j) => (
      <Draggable draggableId={el.id} index={j} key={j}>
        {(provided, snapshot) => (
          <Li ref={provided.innerRef} {...provided.draggableProps} {...provided.dragHandleProps}>
            {el.text}
          </Li>
        )}
      </Draggable>
    ))

export default () => {
  const [elements, setElements] = useState(myElements)

  const onDragEnd = result => {
    const { destination, source, draggableId } = result
    console.log(result)

    if (!destination) return
    if (destination.droppableId === source.droppableId && destination.index === source.index) return

    const new_elements = reorder(elements, source.droppableId, destination.droppableId, source.index, destination.index)
    setElements(new_elements)
  }

  return (
    <DragDropContext onDragEnd={onDragEnd}>
      <Grid>
        <Columns arr={myElements} />
      </Grid>
    </DragDropContext>
  )
}

To

export default () => {
  const [elements, setElements] = useState(myElements)

  const onDragEnd = result => {
    const { destination, source, draggableId } = result
    console.log(result)

    if (!destination) return
    if (destination.droppableId === source.droppableId && destination.index === source.index) return

    const new_elements = reorder(elements, source.droppableId, destination.droppableId, source.index, destination.index)
    setElements(new_elements)
  }

  const Columns = ({ arr }) =>
    arr.map((col, i) => (
      <Droppable droppableId={col.columnId} key={i}>
        {(provided, snapshot) => (
          <Ul ref={provided.innerRef}>
            <Elements arr={col.items} />
            {provided.placeholder}
          </Ul>
        )}
      </Droppable>
    ))

  const Elements = ({ arr }) =>
    arr.map((el, j) => (
      <Draggable draggableId={el.id} index={j} key={j}>
        {(provided, snapshot) => (
          <Li ref={provided.innerRef} {...provided.draggableProps} {...provided.dragHandleProps}>
            {el.text}
          </Li>
        )}
      </Draggable>
    ))

  return (
    <DragDropContext onDragEnd={onDragEnd}>
      <Grid>
        <Columns arr={myElements} />
      </Grid>
    </DragDropContext>
  )
}
kuworking

comment created time in 15 days

issue openedatlassian/react-beautiful-dnd

Simple example, works on sandbox, doesn't on GatsbyJS (?)

I am trying to use the library with a GatsbyJS site, and I am having problems with the behavior

I was running out of ideas so I decided to ask here, and I made a sandbox version

https://codesandbox.io/s/using-react-beautiful-dnd-with-hooks-bfwzl?fontsize=14&hidenavigation=1&theme=dark

The surprise is that the code works well in the sandbox

And I am using the exactly same code in local, but within a GatsbyJS development

This is as simple as it can gets (the same code in index.js except for the pure React part), but once I move an item, if I try to move the same item I cannot, and get this warning

image

I can do a github repo if useful, but before I wanted to ask whether it is something known or if there's something I'm missing here

Thanks,

created time in 15 days

issue commentwp-graphql/wp-graphql-acf

Queries for posts that are private are not showing?

But @jasonbahl neither through GraphiQL when logged as admin?

kuworking

comment created time in a month

issue openedwp-graphql/wp-graphql-acf

Queries for posts that are private are not showing?

Trying to use graphql to retrieve information from private content and using ACF, but I am seeing that if posts are private they are not shown in graphiQL

Is this because it cannot be done?

created time in a month

issue commentwp-graphql/wp-graphql-acf

Feature Request: Allow queries to ACF fields specific to a Category

Me too, is there any link that describes what is enabled currently in this conditional showing?

lyonsv

comment created time in a month

issue commentgatsbyjs/gatsby

Is there any guide for analyzing a site to identify bottlenecks in performance?

I'll definitively try the package

The problem is the audits I get when using low-power computers, I'm unsure whether I should just forget them or whether gatsby is also supposed to be fast there

@alotama thanks for the suggestion :)

kuworking

comment created time in a month

issue commentgatsbyjs/gatsby

gatsby-link does not work with target="_blank"

Then I assume there's no way to open an internal link within a new window/tab while using Link, so that we lose the advantages of Link for this use cases

unyo

comment created time in a month

push eventkuworking/gatsby-theme-kuworking-two

kuworking

commit sha d4c4c8d3b2497df8f79910b01fb13e7a7861bc54

refactor

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-one

kuworking

commit sha f982ea64f5d9504ead25e6e1844455e2835f2c88

refactor

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-core

kuworking

commit sha 47e5d551c563494d7395a5b1aa5824e87cb550b6

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-two

kuworking

commit sha e74984c2402c0ee0b0c9889014f931d391bec5b6

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-one

kuworking

commit sha d05cbd4151dda1590d357db23cf5986bbdf03e8a

refactor

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-two

kuworking

commit sha 40c426e7a2c0478a7c663db01ec4dead1959fa1c

refactor

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-one

kuworking

commit sha fdfaaa32c56a3d90f0754993a2380d10b5c045be

refactor

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-core

kuworking

commit sha 8b1e92e0abe8c6fd2731df8361f8b1e8e41e9327

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-two

kuworking

commit sha c8009125bb59d5f8cd31fdd7d5204dedadce0898

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-one

kuworking

commit sha 75822055600957aa517219b5724d35303a3151b2

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-two

kuworking

commit sha 9bf4d272c5b9cc92f50d08aa7d68891e7cfdae59

refaCTOR

view details

push time in a month

push eventkuworking/kuworking-theme-one

kuworking

commit sha 68b2bbd827ee8d6f74ad95e921b4540a3b1a0e46

refaCTOR

view details

push time in a month

push eventkuworking/kuworking-theme-two

kuworking

commit sha 90780ece48dac63c3f3632668c09e5f4958cf0ae

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-one

kuworking

commit sha e85a851c7ccac5b73d2b0e8c418e4915f2af1826

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-two

kuworking

commit sha 781b811f7f629e7dfca8ae247e9220dfd6f7e4b8

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-one

kuworking

commit sha aff0de4fddb13e75d09c9a7d6e53856bdff1dfdf

refactor

view details

push time in a month

push eventkuworking/kuworking-theme-two

kuworking

commit sha ae3cdb2d6b94bbbada5dea63c3db910e0357cd07

refactoring

view details

push time in a month

push eventkuworking/kuworking-theme-one

kuworking

commit sha 48f03979d710c986806de9ff93007037ea5c4b6d

refactoring

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-two

kuworking

commit sha 83790227507d0979760b0677ee78fcbd2e750c6f

refactoring finished

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-one

kuworking

commit sha cbf1094e392b8ab10d2ca4ecffb1e7dc2d8af895

refactoring finished

view details

push time in a month

push eventkuworking/gatsby-theme-kuworking-core

kuworking

commit sha f4b93e0c0a4beb472273c45fb8b4e369483ef868

refactoring finished

view details

push time in a month

create barnchkuworking/gatsby-theme-kuworking-four

branch : master

created branch time in a month

created repositorykuworking/gatsby-theme-kuworking-four

created time in a month

create barnchkuworking/gatsby-theme-kuworking-three

branch : master

created branch time in a month

created repositorykuworking/gatsby-theme-kuworking-three

created time in a month

create barnchkuworking/gatsby-theme-kuworking-two

branch : master

created branch time in a month

created repositorykuworking/gatsby-theme-kuworking-two

created time in a month

issue openedgatsbyjs/gatsby

Is there any guide for analyzing a site to identify bottlenecks in performance?

After developing a site I find now that I have a main-thread work (LightAudit) that should/could be reduced

I am wondering if is there any guide to benchmark the site to see if there is a specific problem somewhere in the code?

created time in 2 months

issue closedsystem-ui/theme-ui

styling <code> in MDX when using backticks?

I'm facing the following

If in my mdx doc I write

`eh`

<code>eh2</code>

and I have a styles like this

    code: {
      fontFamily: 'monospace',
      backgroundColor: '#000',
    },

I only see the <code> element styled

Looking at the html, I can see that the backtick gets transformed into a

<p><code>eh</code></p>

And if I specifically style this code, it works

    p: {
      code: {
        fontFamily: 'monospace',
        backgroundColor: '#000',
      },
    },
    code: {
      fontFamily: 'monospace',
      backgroundColor: '#000',
    },

But, shouldn't the code styling apply to everything here, included the nested code? Maybe it's in the docs and I haven't read it? Or this shouldn't happen and it has to be something else?

closed time in 2 months

kuworking

issue commentsystem-ui/theme-ui

styling <code> in MDX when using backticks?

Totally, thanks :)

kuworking

comment created time in 2 months

issue openedKyleAMathews/typefaces

[font request] kulim park

It is here

https://github.com/noponies/Kulim-Park

And it can already be installed by openfonts

I however can't get the difference between typefaces and openfonts (?)

created time in 2 months

issue commentsystem-ui/theme-ui

styling <code> in MDX when using backticks?

I also have noted that if I add a blockquote directly, then it gets styled, but if I add it from a component, it does not

import { MyBQ } from blah

this gets styled

> test 

this does not

<MyBQ />

where the component is just a export const MyBQ = () => <blockquote>hello</blockquote/>

I find this illogical (or unexpected) in the sense that the tags are created in the mdx document, so they should be styled (at least that's what I was expecting)

*Only trying to understand how it works, theme-ui is a fabulous contribution to gatsby ecosystem :D

kuworking

comment created time in 2 months

issue openedsystem-ui/theme-ui

styling <code> in MDX when using backticks?

I'm facing the following

If in my mdx doc I write

`eh`

<code>eh2</code>

and I have a styles like this

    code: {
      fontFamily: 'monospace',
      backgroundColor: '#000',
    },

I only see the <code> element styled

Looking at the html, I can see that the backtick gets transformed into a

<p><code>eh</code></p>

And if I specifically style this code, it works

    p: {
      code: {
        fontFamily: 'monospace',
        backgroundColor: '#000',
      },
    },
    code: {
      fontFamily: 'monospace',
      backgroundColor: '#000',
    },

But, shouldn't the code styling apply to everything here, included the nested code? Maybe it's in the docs and I haven't read it? Or this shouldn't happen and it has to be something else?

created time in 2 months

issue commentPrismJS/prism

Cannot find window.Prism object after loading css and script

I'm assuming you solved this?

Yes, completely, and totally unrelated to Prism, I'd have deleted the issue (if I knew how)

kuworking

comment created time in 2 months

issue closedPrismJS/prism

Cannot find window.Prism object after loading css and script

Trying to load the css and js of Prism, I cannot find the Prism object (or window.Prism) to be able to run the Prism.highlightAll()

I load it from Gatsby dynamically by injecting the css first and the js after (local versions), and I can check that both are loaded in the Developer Tools from Chrome

image

The script is loaded with the manual label inserted

image

But no matter what, checking the window object, Prism is not there

image

I have also tried without the manual label, but nothing happens

What is going wrong here?

closed time in 2 months

kuworking

issue commentPrismJS/prism

Cannot find window.Prism object after loading css and script

*Not related to prism but to importing files with gatsby-themes and static folders, closing the issue

kuworking

comment created time in 2 months

issue openedPrismJS/prism

Cannot find window.Prism object after loading css and script

Trying to load the css and js of Prism, I cannot find the Prism object (or window.Prism) to be able to run the Prism.highlightAll()

I load it from Gatsby dynamically by injecting the css first and the js after (local versions), and I can check that both are loaded in the Developer Tools from Chrome

image

The script is loaded with the manual label inserted

image

But no matter what, checking the window object, Prism is not there

image

I have also tried without the manual label, but nothing happens

What is going wrong here?

created time in 2 months

issue commentgatsbyjs/gatsby

Number of generated thumbnails seems huge and crashes build in Windows

I've just downgraded packages and it just works ...

Scattered in 3 package.json

    "gatsby-image": "2.2.19",
    "gatsby-plugin-feed": "^2.3.21",
    "gatsby-plugin-google-tagmanager": "^2.1.17",
    "gatsby-plugin-manifest": "2.2.16",
    "gatsby-plugin-offline": "3.0.21",
    "gatsby-plugin-page-creator": "2.1.30",
    "gatsby-plugin-react-helmet": "3.1.7",
    "gatsby-plugin-robots-txt": "1.5.0",
    "gatsby-plugin-sitemap": "2.2.21",

    "gatsby": "2.15.15",
    "react": "16.12.0",
    "react-dom": "16.12.0",

    "gatsby-plugin-mdx": "1.0.24",
    "gatsby-plugin-sharp": "2.2.22",
    "gatsby-plugin-styled-components": "3.1.13",
    "gatsby-remark-copy-linked-files": "2.1.30",
    "gatsby-remark-images": "3.1.31",
    "gatsby-source-filesystem": "2.1.22",
    "gatsby-transformer-sharp": "2.2.14",

These versions develop and build the site as before, also generating much lower amount of thumbnails

image

31 thumbnails only

Definitively makes much more sense! (thanks @oduncan !)

Is this a known behaviour? Do we have to change something in our gatsby-node to prevent this sort-of redundancy?

kuworking

comment created time in 2 months

issue commentgatsbyjs/gatsby

Number of generated thumbnails seems huge and crashes build in Windows

I had to downgrade to 2.15.15 because of this issue. I could have simply changed a word in a file and it would regenerate all images during bundle rebuild. Crashed Amazon EC2 instance with ENOMEM (memory error). Also it regenerated all images every time I ran develop, it doesn't do that in 2.15.15. It's as if it hashes improperly or fails some hash check every time it scans forcing it to regenerate all images regardless if they have changed or not.

In my case, I've just downgraded to 2.15.15 to give it a try and it crases equally again around ~2000 thumbnails

But before this wasn't happening, why all of the sudden it happens now??

kuworking

comment created time in 2 months

issue openedgatsbyjs/gatsby

Number of generated thumbnails seems hige and crashes build in Windows

Somehow a website of mine that had been building without problems, today has failed during build after having added a couple of additional posts

After trying to increase/decrease versions of sharp package and related plugins without success, I just upgraded all packages of my site just to see that both develop and build were failing

Then I just moved out all the site posts and develop again, and it worked again, but without content of course

My hypothesis is that the number of generated thumbnails gets huge at a point that it crashes due to a sort of out-of-memory error

 [====================----------] 13710/20646 439.4 s 66% Generating image thumbnailsException code=0xc0000005 flags=0x0 at 0x0000000000000000. Access violation - attempting to execute data at address 0x0000000000000000
error Command failed with exit code 3221225477.

Then, the question is how is this happening? In the sense that it wasn't happening 1 week ago without any significant change

Then,

  • If I run my site with a bunch of static images and some non-static images, some pages and just 1 post, I have this

image

498 thumbnails, from ~60 images, I don't know if it is excessive but doesn't seem super-excessive

Then if I add a second post that refers to a static image (that was already there), then I have this

image

747 thumbnails, this must be wrong

Then if I add 3 more posts

image

1328 thumbnails

Then if I add the 38 other posts, that before compiled well in Netlify, then I have this

image

7636 thumbnails

which causes a failure when it went by ~2400

All of this is running gatsby clean && gatsby develop, so that cache and public folders are deleted

These are the packages.json (site -> gatsby-theme-B -> gatsby-theme-A)

  "dependencies": {
    "@mdx-js/mdx": "1.5.1",
    "babel-plugin-styled-components": "1.10.6",
    "gatsby-plugin-mdx": "1.0.24",
    "gatsby-plugin-sharp": "2.3.0",
    "gatsby-plugin-styled-components": "3.1.13",
    "gatsby-remark-copy-linked-files": "2.1.30",
    "gatsby-remark-images": "3.1.31",
    "gatsby-source-filesystem": "2.1.37",
    "gatsby-transformer-sharp": "2.3.5",
    "react-share": "3.0.1",
    "remark-slug": "5.1.2",
    "styled-components": "4.4.1"
  },
  "devDependencies": {
    "@mdx-js/react": "1.5.1",
    "gatsby": "2.17.15",
    "react": "16.12.0",
    "react-dom": "16.12.0"
  },
  "dependencies": {
    "@mdx-js/react": "^1.5.1",
    "deepmerge": "^4.2.2",
    "gatsby-image": "^2.2.33",
    "gatsby-plugin-feed": "^2.3.21",
    "gatsby-plugin-google-tagmanager": "^2.1.17",
    "gatsby-plugin-manifest": "2.2.28",
    "gatsby-plugin-offline": "3.0.21",
    "gatsby-plugin-page-creator": "2.1.30",
    "gatsby-plugin-react-helmet": "^3.1.15",
    "gatsby-plugin-robots-txt": "1.5.0",
    "gatsby-plugin-sitemap": "2.2.21",
    "gatsby-theme-A": "*",
    "react-cookie-consent": "2.5.0",
    "react-helmet": "^5.2.1",
    "styled-icons": "8.6.0"
  },
  "devDependencies": {
    "gatsby": "2.17.15",
    "react": "16.12.0",
    "react-dom": "16.12.0"
  },
  "dependencies": {
    "gatsby": "2.17.15",
    "react": "16.12.0",
    "react-dom": "16.12.0",
    "gatsby-theme-B": "*"
  },

created time in 2 months

issue commentgatsbyjs/gatsby

Improve sharp upgrade experience when libvips is upgraded

If working with yarn workspaces, I have

yarn list --pattern sharp
yarn list v1.19.0
├─ gatsby-plugin-sharp@2.3.0
├─ gatsby-transformer-sharp@2.3.5
└─ sharp@0.23.2

And gatsby-node with

const sharp = require('sharp')
sharp.cache(false)
sharp.simd(false)
  1. Running npm rebuild and/or yarn --force (the equivalent that should work for workspaces?) doesn't allow gatsby build to succeed (after deleting all node_modules)
 [====================----------] 13710/20646 439.4 s 66% Generating image thumbnailsException code=0xc0000005 flags=0x0 at 0x0000000000000000. Access violation - attempting to execute data at address 0x0000000000000000
error Command failed with exit code 3221225477.
  1. Running yarn --force with
"resolutions": {
    "sharp": "0.22.1"
  }

doesn't prevent yarn to install sharp 0.23.2, and running with or without the resolutions part doesn't change the build output, identical to the previous one

  1. Downgrading to
"gatsby-plugin-sharp": "2.2.14",

creates divergences in the different packages of the workspace

yarn list --pattern sharp
yarn list v1.19.0
├─ gatsby-plugin-sharp@2.2.14
│  └─ sharp@0.22.1
├─ gatsby-theme-A@0.1.43
│  └─ gatsby-plugin-sharp@2.3.0
├─ gatsby-transformer-sharp@2.3.5
├─ sharp@0.23.3
└─ site@0.1.71
   └─ gatsby-plugin-sharp@2.3.0
Done in 0.84s.

So I also downgrade

"gatsby-plugin-manifest": "2.1.1",
"gatsby-transformer-sharp": "2.2.6",

delete node_modules and yarn-lock and run yarn --force again

which gives me

yarn list --pattern sharp
yarn list v1.19.0
├─ gatsby-plugin-sharp@2.2.14
├─ gatsby-transformer-sharp@2.2.6
└─ sharp@0.22.1

and then, build fails with a different message

Error: Cannot find module 'gatsby/dist/utils/create-content-digest'

And now I don't know what else can I try

sidharthachatterjee

comment created time in 2 months

issue commentgatsbyjs/gatsby

Errors when processing large(ish) numbers of images with gatsby-plugin-sharp

I've just written there, and now I'm gonna try downgrading to 0.22.1 to see if that works (thanks!)

jp887

comment created time in 2 months

issue commentgatsbyjs/gatsby

GLib-GObject-CRITICAL error with last gatsby-transformer-sharp

In my case, I have

"gatsby-transformer-sharp": "^2.3.5",
"gatsby-plugin-sharp": "^2.3.0",

that both use

 "sharp": "^0.23.2"

which is indeed the version in node_modules

yarn list --pattern sharp
yarn list v1.19.0
├─ gatsby-plugin-sharp@2.3.0
├─ gatsby-transformer-sharp@2.3.5
└─ sharp@0.23.2

I also have in gatsby_node

const sharp = require('sharp')
sharp.cache(false)
sharp.simd(false)

And I have deleted node_modules, yarn.lock and run yarn again, and done npm rebuilt as well (I'm in yarn workspaces)

gatsby build fails

 [=======-----------------------] 4695/20646 228.2 s 22% Generating image thumbnailsException code=0xc0000005 flags=0x0 at 0x000000005EBD2994. Access violation - attempting to read data at address 0x0000000000000271
error Command failed with exit code 3221225477.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 3221225477
Command: C:\Program Files\nodejs\node.exe

*I'm in yarn workspaces

tjands

comment created time in 2 months

issue commentgatsbyjs/gatsby

Errors when processing large(ish) numbers of images with gatsby-plugin-sharp

*You mean sharp I guess

I see a difference in gatsby-plugin-manifest

gatsby-plugin-manifest@2.2.13:
    sharp "^0.23.0"
gatsby-plugin-sharp@^2.3.0:
    sharp "^0.23.2"
gatsby-transformer-sharp@^2.3.5:
    sharp "^0.23.2"
sharp@^0.23.0, sharp@^0.23.2:
  version "0.23.2"

I've updated the plugin but local build fails with the same code 3221226356

Looking at yarn.lock (deleted and yarn again) I can see I have 2 entries of the plugin, the older one and the new one

gatsby-plugin-manifest@2.2.13:
  version "2.2.13"
  resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.2.13.tgz#256242bd8658f19240133439dd3b0c3a6cd4107f"
  integrity sha512-oUZYdDyqacalq6VkEc7QZIqLZNwAxsBzk9UtJShM6e9otm1XY/R9DGtyS70qnWy9kDb8y5T4qhPVjIGhG1ulgA==
  dependencies:
    "@babel/runtime" "^7.5.5"
    gatsby-core-utils "^1.0.7"
    semver "^5.7.1"
    sharp "^0.23.0"

gatsby-plugin-manifest@2.2.28, gatsby-plugin-manifest@^2.2.28:
  version "2.2.28"
  resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.2.28.tgz#17464f404c58b748ebd34efbf783a6f5b0f85f1b"
  integrity sha512-VvpVF4uE2IkNW+WXN8UvB2slU3tldR054beyvmOAt4HkKgnRLBU8j78yGrEhzdUHqbt2wgroI2KI9VYMiicG4Q==
  dependencies:
    "@babel/runtime" "^7.7.2"
    gatsby-core-utils "^1.0.19"
    semver "^5.7.1"
    sharp "^0.23.2"
jp887

comment created time in 2 months

issue commentgatsbyjs/gatsby

Errors when processing large(ish) numbers of images with gatsby-plugin-sharp

I've just deleted every node_modules and run yarn again, but build in local has failed again, now with an exit code = 'Exit code: 3221226356' without any more information

I'm going to move out all images and see if it runs again, and then I guess the solution would be to put all images in static (?)

jp887

comment created time in 2 months

issue commentgatsbyjs/gatsby

Errors when processing large(ish) numbers of images with gatsby-plugin-sharp

@niklasravnsborg but this is happening in local as well ... shouldn't be a problem (it is a really simple website mine)

jp887

comment created time in 2 months

issue commentgatsbyjs/gatsby

Errors when processing large(ish) numbers of images with gatsby-plugin-sharp

After having updated to

    "gatsby-plugin-sharp": "^2.3.0",
    "gatsby-transformer-sharp": "^2.3.5",

the error is then

11:06:15 AM: error vips_image_get: field "exif-data" not found
11:06:15 AM: UNHANDLED REJECTION vips_image_get: field "exif-data" not found
11:06:15 AM: See our docs page for more info on this error: https://gatsby.dev/issue-how-to
11:06:15 AM: 
11:06:15 AM:   Error: vips_image_get: field "exif-data" not found
11:06:15 AM: 
11:06:15 AM: Skipping functions preparation step: no functions directory set
11:06:15 AM: Caching artifacts
11:06:15 AM: Started saving node modules
11:06:15 AM: Finished saving node modules
11:06:15 AM: Started saving pip cache
11:06:15 AM: Finished saving pip cache
11:06:15 AM: Started saving emacs cask dependencies
11:06:15 AM: Finished saving emacs cask dependencies
11:06:15 AM: Started saving maven dependencies
11:06:15 AM: Finished saving maven dependencies
11:06:15 AM: Started saving boot dependencies
11:06:15 AM: Finished saving boot dependencies
11:06:15 AM: Started saving go dependencies
11:06:15 AM: Finished saving go dependencies
11:06:15 AM: Error running command: Build script returned non-zero exit code: 1
11:06:15 AM: failed during stage 'building site': Build script returned non-zero exit code: 1
11:06:15 AM: Failing build: Failed to build site
11:06:15 AM: Finished processing build request in 5m3.761363935s

then I've added to gatsby-node

const sharp = require('sharp')
sharp.cache(false)
sharp.simd(false)

And now netlify doesn't finish (it is building like forever), and in local it doesn't build (node v10.16.0)

Right now I'm not able to deploy my site, and I haven't introduced any change apart from new content 😥

success run page queries - 54.340 s — 108/108 1.99 queries/second
⠙ run page queries — 108/108 1.99 queries/second
 [=-----------------------------] 3158/71874 73.9 s 4% Generating image thumbnails
(sharp:6564): GLib-GObject-WARNING **: 11:51:59.486: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.527: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.527: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.527: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.528: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.534: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.535: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.535: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.537: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.538: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.538: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.538: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.539: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.539: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.539: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.540: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.541: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.541: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.541: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.542: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.542: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.543: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.543: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.543: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.544: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.544: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.544: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.545: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.545: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.547: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.547: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.548: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.553: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.553: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.554: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.554: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.555: ../../checkout/glib-2.61.0/gobject/gtype.c:4265: type id '0' is invalid

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.555: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:6564): GLib-GObject-WARNING **: 11:51:59.555: ../../checkout/glib-2.61.0/gobject/gvalue.c:188: cannot initialize GValue with type '(NULL)', this type has no GTypeValueTable implementation

(sharp:6564): GLib-GObject-CRITICAL **: 11:51:59.556: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
 [====--------------------------] 10564/71874 130.6 s 14% Generating image thumbnailsException code=0xc0000005 flags=0x0 at 0x00007FF84D575CB5. Access violation - attempting to write data at address 0x0000000000000000
error Command failed with exit code 3221225477.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 3221225477
Command: C:\Program Files\nodejs\node.exe
Arguments: C:\Program Files (x86)\Yarn\lib\cli.js build
Directory: D:\CODING\xxx\site
Output:
jp887

comment created time in 2 months

issue commentgatsbyjs/gatsby

Errors when processing large(ish) numbers of images with gatsby-plugin-sharp

In my case this has happened in netlify but not in local, with 1724 images found in the public folder

Previous build run ok and this one has added ~20 new images (to be translated into 100-200? in the public folder)

10:01:32 AM: Build ready to start
10:01:52 AM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63
10:01:52 AM: build-image tag: v3.3.2
10:01:52 AM: buildbot version: a2bab682ae0761baa4d123ebd00c57be933655dc
10:01:52 AM: Fetching cached dependencies
10:01:52 AM: Starting to download cache of 254.9KB
10:01:52 AM: Finished downloading cache in 79.77385ms
10:01:52 AM: Starting to extract cache
10:01:52 AM: Failed to fetch cache, continuing with build
10:01:52 AM: Starting to prepare the repo for build
10:01:52 AM: No cached dependencies found. Cloning fresh repo
10:01:52 AM: git clone https://github.com/xxx/xxx
10:01:56 AM: Preparing Git Reference refs/heads/netlify
10:01:57 AM: Found netlify.toml. Overriding site configuration
10:01:57 AM: Starting build script
10:01:57 AM: Installing dependencies
10:01:58 AM: Downloading and installing node v10.17.0...
10:01:58 AM: Downloading https://nodejs.org/dist/v10.17.0/node-v10.17.0-linux-x64.tar.xz...
10:01:59 AM: 
#######################################
10:01:59 AM:                               54.7%
10:01:59 AM: 
########################
10:01:59 AM: ################################################ 100.0%
10:01:59 AM: Computing checksum with sha256sum
10:01:59 AM: Checksums matched!
10:02:01 AM: Now using node v10.17.0 (npm v6.11.3)
10:02:01 AM: Attempting ruby version 2.6.2, read from environment
10:02:02 AM: Using ruby version 2.6.2
10:02:03 AM: Using PHP version 5.6
10:02:03 AM: Started restoring cached node modules
10:02:03 AM: Finished restoring cached node modules
10:02:03 AM: Installing NPM modules using NPM version 6.11.3
10:02:05 AM: npm
10:02:05 AM: WARN deprecated core-js@2.6.10: 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.
10:02:08 AM: npm
10:02:08 AM: WARN deprecated 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
10:02:10 AM: npm WARN deprecated core-js@1.2.7: 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.
10:02:25 AM: npm WARN
10:02:25 AM:  deprecated @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.
10:03:03 AM: > sharp@0.23.2 install /opt/build/repo/node_modules/sharp
10:03:03 AM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
10:03:03 AM: info
10:03:03 AM: sharp
10:03:03 AM:  Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
10:03:05 AM: > core-js@2.6.10 postinstall /opt/build/repo/node_modules/core-js
10:03:05 AM: > node postinstall || echo "ignore"
10:03:05 AM: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
10:03:05 AM: The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
10:03:05 AM: > https://opencollective.com/core-js 
10:03:05 AM: > https://www.patreon.com/zloirock 
10:03:05 AM: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
10:03:06 AM: > styled-components@4.3.2 postinstall /opt/build/repo/node_modules/styled-components
10:03:06 AM: > node ./scripts/postinstall.js || exit 0
10:03:06 AM: Use styled-components at work? Consider supporting our development efforts at https://opencollective.com/styled-components
10:03:06 AM: > gatsby-telemetry@1.1.37 postinstall /opt/build/repo/node_modules/gatsby-telemetry
10:03:06 AM: > node src/postinstall.js
10:03:06 AM: > cwebp-bin@5.1.0 postinstall /opt/build/repo/node_modules/cwebp-bin
10:03:06 AM: > node lib/install.js
10:03:07 AM:   ✔ cwebp pre-build test passed successfully
10:03:07 AM: > mozjpeg@6.0.1 postinstall /opt/build/repo/node_modules/mozjpeg
10:03:07 AM: > node lib/install.js
10:03:07 AM:   ✔ mozjpeg pre-build test passed successfully
10:03:07 AM: > pngquant-bin@5.0.2 postinstall /opt/build/repo/node_modules/pngquant-bin
10:03:07 AM: > node lib/install.js
10:03:07 AM:   ✔ pngquant pre-build test passed successfully
10:03:07 AM: > gatsby-cli@2.8.11 postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
10:03:07 AM: > node scripts/postinstall.js
10:03:08 AM: > gatsby@2.17.15 postinstall /opt/build/repo/node_modules/gatsby
10:03:08 AM: > node scripts/postinstall.js
10:03:10 AM: npm
10:03:10 AM: notice created a lockfile as package-lock.json. You should commit this file.
10:03:10 AM: npm
10:03:10 AM: WARN tsutils@3.17.1 requires a peer of 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 but none is installed. You must install peer dependencies yourself.
10:03:10 AM: npm WARN
10:03:10 AM:  optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
10:03:10 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:03:10 AM: npm
10:03:10 AM: WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/xxx/node_modules/fsevents):
10:03:10 AM: npm WARN notsup
10:03:10 AM:  SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:03:10 AM: npm
10:03:10 AM:  WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
10:03:10 AM: npm WARN
10:03:10 AM: notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:03:10 AM: added 2219 packages from 1064 contributors and audited 29407 packages in 66.353s
10:03:10 AM: found 0 vulnerabilities
10:03:10 AM: NPM modules installed
10:03:10 AM: Started restoring cached go cache
10:03:10 AM: Finished restoring cached go cache
10:03:10 AM: unset GOOS;
10:03:10 AM: unset GOARCH;
10:03:10 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
10:03:10 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
10:03:10 AM: go version >&2;
10:03:10 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
10:03:10 AM: go version go1.12 linux/amd64
10:03:10 AM: Installing missing commands
10:03:10 AM: Verify run directory
10:03:10 AM: Executing user command: gatsby build
10:03:13 AM: success open and validate gatsby-configs - 0.092s
10:03:14 AM: success load plugins - 1.257s
10:03:14 AM: success onPreInit - 0.009s
10:03:14 AM: success delete html and css files from previous builds - 0.011s
10:03:14 AM: success initialize cache - 0.008s
10:03:14 AM: success copy gatsby files - 0.048s
10:03:14 AM: success onPreBootstrap - 0.011s
10:03:22 AM: success source and transform nodes - 7.410s
10:03:22 AM: success building schema - 0.431s
10:03:22 AM: success createPages - 0.197s
10:03:22 AM: success createPagesStatefully - 0.115s
10:03:23 AM: success onPreExtractQueries - 0.004s
10:03:23 AM: success update schema - 0.050s
10:03:23 AM: success extract queries from components - 0.429s
10:03:23 AM: success write out requires - 0.006s
10:03:23 AM: success write out redirect data - 0.001s
10:03:24 AM: success Build manifest and related icons - 1.128s
10:03:24 AM: success onPostBootstrap - 1.154s
10:03:24 AM: ⠀
10:03:24 AM: info bootstrap finished - 13.927 s
10:03:24 AM: ⠀
10:04:01 AM: success Building production JavaScript and CSS bundles - 33.009s
10:04:01 AM: success Rewriting compilation hashes - 0.001s
10:05:13 AM: error error copying file from /opt/build/repo/content/recipes/images/none.jpg to /opt/build/repo/public/static/none-49bb16de8c78d925cf6d9aa24b8c556c.jpg { [Error: ENOENT: no such file or directory, unlink '/opt/build/repo/public/static/none-49bb16de8c78d925cf6d9aa24b8c556c.jpg']
10:05:13 AM:   errno: -2,
10:05:13 AM:   code: 'ENOENT',
10:05:13 AM:   syscall: 'unlink',
10:05:13 AM:   path:
10:05:13 AM:    '/opt/build/repo/public/static/none-49bb16de8c78d925cf6d9aa24b8c556c.jpg' }
10:05:22 AM: *** Error in `node': double free or corruption (fasttop): 0x00007fdd1c1727a0 ***
10:05:22 AM: ======= Backtrace: =========
10:05:22 AM: /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fdd4940b7e5]
10:05:22 AM: /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fdd4941437a]
10:05:22 AM: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fdd4941853c]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(+0x208f49)[0x7fdd23a44f49]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libglib-2.0.so.0(g_hash_table_replace+0x1f0)[0x7fdd402abfd0]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(+0x208ec0)[0x7fdd23a44ec0]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips_image_set+0x25)[0x7fdd23a45665]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips_image_set_string+0x50)[0x7fdd23a46890]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips__exif_parse+0x2be)[0x7fdd239e7e7e]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips_image_set+0x50)[0x7fdd23a45690]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips_image_set_blob+0x60)[0x7fdd23a461a0]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips__exif_update+0x1b5)[0x7fdd239e8095]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(+0x1cbe60)[0x7fdd23a07e60]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips__jpeg_write_file+0x1d1)[0x7fdd23a08481]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(+0x1cebea)[0x7fdd23a0abea]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips_object_build+0x19)[0x7fdd23a36b29]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42(vips_cache_operation_buildp+0x48)[0x7fdd23a41f98]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42(_ZN4vips6VImage18call_option_stringEPKcS2_PNS_7VOptionE+0x65)[0x7fdd405d3905]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42(_ZNK4vips6VImage8jpegsaveEPKcPNS_7VOptionE+0x59)[0x7fdd405ddf99]
10:05:22 AM: /opt/build/repo/node_modules/sharp/build/Release/sharp.node(_ZN14PipelineWorker7ExecuteEv+0x3166)[0x7fdd48180556]
10:05:22 AM: node[0xa6ab3e]
10:05:22 AM: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fdd497656ba]
10:05:22 AM: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fdd4949b41d]
10:05:22 AM: ======= Memory map: ========
10:05:22 AM: 00400000-0243e000 r-xp 00000000 08:01 5623487                            /opt/buildhome/.nvm/versions/node/v10.17.0/bin/node
10:05:22 AM: 0263d000-0263f000 r--p 0203d000 08:01 5623487                            /opt/buildhome/.nvm/versions/node/v10.17.0/bin/node
10:05:22 AM: 0263f000-0264b000 rw-p 0203f000 08:01 5623487                            /opt/buildhome/.nvm/versions/node/v10.17.0/bin/node
10:05:22 AM: 0264b000-02666000 rw-p 00000000 00:00 0
10:05:22 AM: 044fc000-07e3a000 rw-p 00000000 00:00 0                                  [heap]
10:05:22 AM: 434880000-434900000 rw-p 00000000 00:00 0
10:05:22 AM: 3138d80000-3138e00000 rw-p 00000000 00:00 0
10:05:22 AM: 3d10300000-3d10380000 rw-p 00000000 00:00 0
(.......... more like these)
10:05:22 AM: 20c8ca180000-20c8ca200000 rw-p 00000000 00:00 0
10:05:22 AM: 20e266280000-20e266300000 rw-p 00000000 00:00 0
10:05:30 AM: failed during stage 'building site': Build script returned non-zero exit code: 134
10:05:22 AM: 20e801900000-20e801980000 rw-p 00000000 00:00 0
10:05:22 AM: 20f21a300000-20f21a380000 rw-p 00000000 00:00 0
10:05:22 AM: 20f398800000-20f398880000 rw-p 00000000 00:00 0
10:05:30 AM: Shutting down logging, 960 messages pending
10:05:22 AM: 21302f780000-21302f800000 rw-p 00000000 00:00 0
10:05:22 AM: 213cad700000-213cad780000 rw-p 00000000 00:00 0
10:05:22 AM: 214646c00000-214646c80000 rw-p 00000000 00:00 0
jp887

comment created time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha f00408c391de06cb96ae738c1ce71423e7ecfaab

lazy youtubes and other fixes

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha e0b0b65f811ae2d532ea3c5903abdaf940b18b5b

lazy youtubes and other fixes

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha 2cb9c5b271664ab5b1f619b6e6d784405a666cf4

lazy youtubes and other fixes

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha f68becde05843d2da81c63d54d718bb552d7cdde

lazy youtubes and other fixes

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha 8e1b9d44dc85531f3d7e35cc6a8746b0e05a7920

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha 8d31179ceac6e9f5517cb810a36681c3ad7e8faf

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha bcc4172b2068571b366b25ada6e8f34f4d88c311

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha 6dec55479b2cfeae740f54c402621533c4e91aea

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha dc43ba29e1c503a5367b91f7b2ab8644fbd4bec5

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha 9a0681d7d83e44446c984c0d641da05f9bb7f8dc

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha a6aa594403950d9fb3b95e743f2de5a456d4c160

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha 8c657658e58478181ca4064f5b8164571422e91e

fix twitter image

view details

kuworking

commit sha d8bd34a48ae7c0042149b9ddbb9d23db2fe61291

twitter image fix

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha 8af881c84143d1b5bd2ee345ccdd39574ecebfbe

implemented theme-ui shadowing

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha b75ff325f9542b204ca07df2e26e5fe5f14ad88f

implemented theme-ui shadowing

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha 93084261a4b8185759b03c1f9bd009e825a2c357

implemented theme-ui shadowing

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha b652bb19f0fd7887907dc8a480f9c0a4b3023bc6

implemented theme-ui shadowing

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha 627824a210f69d44dc04773d886d647a83fa0f8a

.

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha 0d535b016949dbfa191bb2dc9a3adf3ce4a309fc

.

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha b5ebd9d965adc52e51aa20ebe8e88f4a27b4a972

.

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha 979fc3d624ed8af37a3d77cda7d3e499c58efa35

.

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha e71dba5c0f45f1800fdc16df85bae40aa0fc2b29

refactor some css styles

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha 47472d679d090a0a5408c471200f7622a9aedbf5

refactor some css styles

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha 90e3e7f7fcaee85586d7352e0dfdd51094d37e22

refactor some css styles

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha 47b5746f28a610c7ce61011810238341101dbdf2

refactor some css styles

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha 4bae01e163afd2fbdfe3c7ce733ef40bb1fb89ac

refactor some css styles

view details

push time in 2 months

issue closedgatsbyjs/gatsby

Should I use `gatsby-plugin-compile-es6-packages` to prevent this spread-related error?

This code works in Gatsby (2.15.2)

const temp = [...Array(5)]
temp.map(async _ => console.log('hey'))

But this doesn't

[...Array(5)].map(async _ => console.log('hey'))

Since it should work, is it something I'd need to use https://www.gatsbyjs.org/packages/gatsby-plugin-compile-es6-packages/

closed time in 2 months

kuworking

issue commentgatsbyjs/gatsby

Should I use `gatsby-plugin-compile-es6-packages` to prevent this spread-related error?

It does work, but you have to assign it to a variable

// doesn't work
[...Array(5)].map(async _ => console.log('hey'))
// works
const t = [...Array(5)].map(async _ => console.log('hey'))
kuworking

comment created time in 2 months

issue openedgatsbyjs/gatsby

Should I use `gatsby-plugin-compile-es6-packages` to prevent this spread-related error?

This code works in Gatsby (2.15.2)

const temp = [...Array(5)]
temp.map(async _ => console.log('hey'))

But this doesn't

[...Array(5)].map(async _ => console.log('hey'))

Since it should work, is it something I'd need to use https://www.gatsbyjs.org/packages/gatsby-plugin-compile-es6-packages/

created time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha b97e2cf4fd886adbc1f855b942ac9b5355bb706b

'minor'

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha 17c3a785ed77c733b59bd175d593cb6565c6d0ac

'minor'

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha 283663028124abe5b5b4d5aed55c1c461d148edd

'minor'

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-four

kuworking

commit sha 73044bed098ff9694de6f5e086148d949df8626f

'minor'

view details

push time in 2 months

issue commentlerna/lerna

Is Lerna pushing packages to different repositories?

@TrejGun I've just changed my implementation for a more understandable approach based on https://github.com/johno/actions-push-subdirectories/blob/master/entrypoint.sh and https://github.com/gatsbyjs/gatsby/blob/8933ca9b3bf2c9b4fd580dd437d8695c3be705b7/scripts/clone-and-validate.sh

It that's of interest for you

kuworking

comment created time in 2 months

push eventkuworking/kuworking-theme-blog-two

kuworking

commit sha 9b24f7c341e32d394ed86c7288cd5c36ed00d733

uploading

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-three

kuworking

commit sha bc6a63c62b22ef2c02bf7c242303eee3d27595a4

uploading

view details

push time in 2 months

push eventkuworking/kuworking-theme-blog-one

kuworking

commit sha 8864534020a104076e72f959cc76df550c2cf924

uploading

view details

push time in 2 months

more