Comments (5)
well, since i can't reproduce the error would you mind opening a PR for that?
from gatsby-source-instagram.
Hm i can't reproduce this.
➜ grok@mordor ~/personal npx gatsby-cli new my-default-project https://github.com/gatsbyjs/gatsby-starter-default\#v2
npx: installed 211 in 17.483s
info Creating new site from git: https://github.com/gatsbyjs/gatsby-starter-default.git
Cloning into 'my-default-project'...
(node:18227) ExperimentalWarning: The fs.promises API is experimental
remote: Counting objects: 900, done.
remote: Total 900 (delta 0), reused 0 (delta 0), pack-reused 899
Receiving objects: 100% (900/900), 907.48 KiB | 350.00 KiB/s, done.
Resolving deltas: 100% (518/518), done.
success Created starter directory layout
info Installing packages...
yarn install v1.2.1
warning You are using Node "10.1.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || ^8.0.0"
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" 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 "ajv@>=5.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 70.08s.
➜ grok@mordor ~/personal cd my-default-project
➜ grok@mordor ~/personal/my-default-project yarn add gatsby-source-instagram
yarn add v1.2.1
warning You are using Node "10.1.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || ^8.0.0"
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" 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 "ajv@>=5.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
├─ [email protected]
└─ [email protected]
Done in 8.88s.
➜ grok@mordor ~/personal/my-default-project nano gatsby-config.js
➜ grok@mordor ~/personal/my-default-project gatsby develop
(node:18575) ExperimentalWarning: The fs.promises API is experimental
success open and validate gatsby-config — 0.020 s
success load plugins — 0.208 s
success onPreInit — 0.117 s
success delete html and css files from previous builds — 0.007 s
success initialize cache — 0.007 s
success copy gatsby files — 0.012 s
success onPreBootstrap — 0.003 s
success source and transform nodes — 1.222 s
success building schema — 0.126 s
success createPages — 0.002 s
success createPagesStatefully — 0.025 s
success onPreExtractQueries — 0.001 s
success update schema — 0.094 s
success extract queries from components — 0.042 s
success run graphql queries — 0.030 s — 6/6 205.74 queries/second
success write out page data — 0.005 s
success write out redirect data — 0.001 s
⠄ onPostBootstrapdone generating icons for manifest
success onPostBootstrap — 0.177 s
info bootstrap finished - 3.748 s
(node:18586) ExperimentalWarning: The fs.promises API is experimental
DONE Compiled successfully in 2600ms
Can you try and clone the source to the plugins directory locally, then yarn build it and run again?
from gatsby-source-instagram.
Can you try and clone the source to the plugins directory locally, then yarn build it and run again?
Sure thing, but I'm afraid I got the same results. Only difference I can see is that I'm on Windows and on Node 10.10.0, but using nvm to try Node 10.1.0 also didn't work.
Interestingly enough, if I override the babel transpiled version (\plugins\gatsby-source-instagram\gatsby-node.js
) with the non-transpiled version from \plugins\gatsby-source-instagram\src\gatsby-node.js
, everything seems to work (but can't be 100% sure because our company firewall blocks instagram).
from gatsby-source-instagram.
i've published and pushed a new version if you could try to see if things are better. i added the runtime plugin in the plugins
from gatsby-source-instagram.
i've published and pushed a new version if you could try to see if things are better. i added the runtime plugin in the plugins
Nope, still no luck. Playing around with the options, one thing that did work was defining a target on .babelrc:
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "6.0"
}
}
]
],
}
Which also has the advantage of not requiring any extra plugins
from gatsby-source-instagram.
Related Issues (20)
- Cannot read property 'next' of undefined
- sourced image URL expires after a few days HOT 1
- Cannot read property 'edge_owner_to_timeline_media' HOT 2
- I can use version 0.6.1, but not 0.9.0 (Cannot query field "allInstaNode" on type "Query") [Gatsby 2.27.0] HOT 3
- Use maxPosts for scraping method HOT 1
- Hashtag Graph API function doesn't work HOT 5
- Cannnot get last 3 posts HOT 1
- Does using the Graph API remove the 50 posts limit? HOT 1
- New gatsby version issue HOT 7
- Error status Error: Request failed with status code 500 HOT 2
- Could not fetch instagram posts. Error status TypeError: Cannot read property 'user' of undefined HOT 13
- Unable to queryCarousel Images when scraping public posts HOT 1
- Migrating to safer typescript implementation HOT 3
- Dependency Dashboard
- Build works fine locally, but fails on Gatsby Cloud HOT 5
- Extend the Facebook/Instagram access token time HOT 2
- Error while running the sourceNodes lifecycle HOT 2
- Maintenance HOT 3
- NPM peer dependencies update HOT 1
- url signature expired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-source-instagram.