builderio / gatsby-starter-builder Goto Github PK
View Code? Open in Web Editor NEWGatsby example with drag and drop page building
Home Page: https://builder.io
License: MIT License
Gatsby example with drag and drop page building
Home Page: https://builder.io
License: MIT License
Full disclaimer, I'm not a pro of Gatsby, this is why I want to use Builder.IO but I'm already stuck at integrating my Public API Key
I Found it, this ok, but how to integrate it in ./src/config.js
is a mystery
here my line: builderAPIKey: process.env.d4797e74-d1ba-406a-80f8-b750fb37e302
but it give me an: ERROR #85923 GRAPHQL
for File: src/layouts/PageLayout.jsx:20:5
which point at the content.
Technically I have 2 page published
But when I visit https://wasp-commercial-green.builder.live/, Johnny don't think so
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define
the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitionsFile: src/templates/LandingPage.jsx:40:5
failed extract queries from components - 0.112s
success write out requires - 0.004sERROR #98124 WEBPACK
undefined failed
Can't resolve '../../public/page-data/sq/d/2865936176.json' in '/home/jond/website/my-builder-site/src/layouts'
If you're trying to use a package make sure that '../../public/page-data/sq/d/2865936176.json' is installed. If you're trying to use a local file make sure that the path is correct.
File: src/layouts/PageLayout.jsx
Hello,
As I run npm install
, I get the following
➜ gatsby-starter-builder git:(master) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: gatsby-starter-builder@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/gatsby
npm ERR! gatsby@"^3.14.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer gatsby@"^4.0.0-next" from @builder.io/[email protected]
npm ERR! node_modules/@builder.io/gatsby
npm ERR! @builder.io/gatsby@"^2.0.6-16" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/harit/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/harit/.npm/_logs/2022-10-06T23_53_40_648Z-debug-0.log
Can someone please help?
Hello,
At npm i
added 1 package, removed 89 packages
20 vulnerabilities (9 low, 5 moderate, 6 high)
And npm audit fix --force
can't fix 5 of the high severity ones.
npm audit
details after --force:
# npm audit report
axios <0.21.1
Severity: high
Server-Side Request Forgery - https://npmjs.com/advisories/1594
fix available via `npm audit fix`
node_modules/axios
gatsby 2.10.1-resource-loading.10 - 2.10.1-structured-logs-test.128 || 2.13.37-cors-options.396 || 2.13.58 - 3.0.0-next.4
Depends on vulnerable versions of axios
Depends on vulnerable versions of terser-webpack-plugin
node_modules/gatsby
immer <8.0.1
Severity: high
Prototype Pollution - https://npmjs.com/advisories/1603
fix available via `npm audit fix`
node_modules/immer
@builder.io/react >=0.1.20
Depends on vulnerable versions of create-react-context
Depends on vulnerable versions of immer
node_modules/@builder.io/react
node_modules/@builder.io/widgets/node_modules/@builder.io/react
@builder.io/widgets *
Depends on vulnerable versions of @builder.io/react
Depends on vulnerable versions of immer
node_modules/@builder.io/widgets
node-fetch <=2.6.0 || 3.0.0-beta.1 - 3.0.0-beta.8
Denial of Service - https://npmjs.com/advisories/1556
No fix available
node_modules/node-fetch
@builder.io/gatsby *
Depends on vulnerable versions of node-fetch
node_modules/@builder.io/gatsby
isomorphic-fetch 2.0.0 - 2.2.1
Depends on vulnerable versions of node-fetch
node_modules/isomorphic-fetch
fbjs 0.7.0 - 1.0.0
Depends on vulnerable versions of isomorphic-fetch
node_modules/fbjs
create-react-context 0.2.0 - 0.2.3
Depends on vulnerable versions of fbjs
node_modules/create-react-context
@builder.io/react >=0.1.20
Depends on vulnerable versions of create-react-context
Depends on vulnerable versions of immer
node_modules/@builder.io/react
node_modules/@builder.io/widgets/node_modules/@builder.io/react
@builder.io/widgets *
Depends on vulnerable versions of @builder.io/react
Depends on vulnerable versions of immer
node_modules/@builder.io/widgets
ssri 5.2.2 - 6.0.1 || 7.0.0 - 8.0.0
Severity: moderate
Regular Expression Denial of Service - https://npmjs.com/advisories/565
fix available via `npm audit fix`
node_modules/ssri
cacache 10.0.4 - 11.0.0 || 13.0.0 - 14.0.0
Depends on vulnerable versions of ssri
node_modules/cacache
terser-webpack-plugin 2.1.1 - 2.3.8
Depends on vulnerable versions of cacache
node_modules/terser-webpack-plugin
gatsby 2.10.1-resource-loading.10 - 2.10.1-structured-logs-test.128 || 2.13.37-cors-options.396 || 2.13.58 - 3.0.0-next.4
Depends on vulnerable versions of axios
Depends on vulnerable versions of terser-webpack-plugin
node_modules/gatsby
13 vulnerabilities (5 low, 3 moderate, 5 high)
I know, maintaining a nodejs project is such a pain.
Good luck!
I am getting the following error when trying to do gatsby develop.
Can't resolve '/package.json' in '/node_modules/gatsby-plugin-material-ui'
Any thoughts on why this happens?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.