Comments (7)
Thanks for reporting! Can reproduce as well
from gatsby-starter-ghost.
Hello, I just tried to install this and got that same exact error. Is there a workaround for this? I really would like to setup my Ghost blog using gatsby.
from gatsby-starter-ghost.
I also installed this then npm did not work, ran yarn and it seemed to work but I get a fault when I try the command gatsby develop
`warn [gatsby-transformer-sharp] The "fixed" and "fluid" resolvers are now deprecated. Switch to "gatsby-plugin-image" for better performance and
a simpler API. See https://gatsby.dev/migrate-images to learn how.
success run static queries - 0.107s - 5/5 46.88/s
success run page queries - 0.094s - 3/3 31.83/s
ERROR
Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema.
- options should be one of these:
object { resourceRegExp, contextRegExp? } | object { checkResource }
Details:- options misses the property 'resourceRegExp'. Should be:
RegExp
-> A RegExp to test the request against. - options misses the property 'checkResource'. Should be:
function
-> A filter function for resource and context.
- options misses the property 'resourceRegExp'. Should be:
ValidationError: Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema.
-
options should be one of these:
object { resourceRegExp, contextRegExp? } | object { checkResource }
Details:- options misses the property 'resourceRegExp'. Should be:
RegExp
-> A RegExp to test the request against. - options misses the property 'checkResource'. Should be:
function
-> A filter function for resource and context.
- options misses the property 'resourceRegExp'. Should be:
-
validate.js:105 validate
[gatsby-starter-ghost]/[schema-utils]/dist/validate.js:105:11 -
create-schema-validation.js:16
[gatsby-starter-ghost]/[webpack]/lib/util/create-schema-validation.js:16:17 -
IgnorePlugin.js:28 new IgnorePlugin
[gatsby-starter-ghost]/[webpack]/lib/IgnorePlugin.js:28:3 -
webpack-plugins.ts:16 Object.ignore
[gatsby-starter-ghost]/[gatsby]/src/utils/webpack-plugins.ts:16:12 -
webpack-utils.ts:767 Object.moment
[gatsby-starter-ghost]/[gatsby]/src/utils/webpack-utils.ts:767:13 -
webpack.config.js:211 getPlugins
[gatsby-starter-ghost]/[gatsby]/src/utils/webpack.config.js:211:15 -
webpack.config.js:512 module.exports
[gatsby-starter-ghost]/[gatsby]/src/utils/webpack.config.js:512:14 -
build-html.ts:180 buildRenderer
[gatsby-starter-ghost]/[gatsby]/src/commands/build-html.ts:180:18 -
start-server.ts:118 createIndexHtml
[gatsby-starter-ghost]/[gatsby]/src/utils/start-server.ts:118:32 -
start-server.ts:156 startServer
[gatsby-starter-ghost]/[gatsby]/src/utils/start-server.ts:156:5 -
start-webpack-server.ts:44 startWebpackServer
[gatsby-starter-ghost]/[gatsby]/src/services/start-webpack-server.ts:44:7
not finished Building development bundle - 0.208s
`
` System:
OS: macOS 11.5.1
CPU: (4) x64 Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.1.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 8.1.2 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 96.0.4664.55
Safari: 14.1.2
npmPackages:
gatsby: 3.12.1 => 3.12.1
gatsby-awesome-pagination: 0.3.8 => 0.3.8
gatsby-image: 3.11.0 => 3.11.0
gatsby-plugin-advanced-sitemap: 2.0.0 => 2.0.0
gatsby-plugin-catch-links: 3.12.0 => 3.12.0
gatsby-plugin-feed: 3.12.0 => 3.12.0
gatsby-plugin-force-trailing-slashes: 1.0.5 => 1.0.5
gatsby-plugin-manifest: 3.12.0 => 3.12.0
gatsby-plugin-offline: 4.12.0 => 4.12.0
gatsby-plugin-react-helmet: 4.12.0 => 4.12.0
gatsby-plugin-sharp: 3.12.0 => 3.12.0
gatsby-source-filesystem: 3.12.0 => 3.12.0
gatsby-source-ghost: 4.2.4 => 4.2.4
gatsby-transformer-sharp: 3.12.0 => 3.12.0
npmGlobalPackages:
gatsby-cli: 4.2.0
gatsby-starter-netlify-cms: 1.1.3
`
from gatsby-starter-ghost.
I am getting the same error as well.
Node: 16.13.1
npm: 8.3.0
gatsby CLI: 4.4.0
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.9.0" from @tryghost/[email protected]
npm ERR! node_modules/@tryghost/helpers-gatsby
npm ERR! @tryghost/helpers-gatsby@"1.0.61" 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 C:\Users\johnd\AppData\Local\npm-cache\eresolve-report.txt for a full report.
from gatsby-starter-ghost.
I am also receiving a similar error upon running gatsby develop
ERROR
Invalid options object. Ignore Plugin has been initialized using an options object that does not match the
API schema.
- options should be one of these:
object { resourceRegExp, contextRegExp? } | object { checkResource }
Details:- options misses the property 'resourceRegExp'. Should be:
RegExp
-> A RegExp to test the request against. - options misses the property 'checkResource'. Should be:
function
-> A filter function for resource and context.
- options misses the property 'resourceRegExp'. Should be:
ValidationError: Invalid options object. Ignore Plugin has been initialized using an options object that do
es not match the API schema.
- options should be one of these:
object { resourceRegExp, contextRegExp? } | object { checkResource }
Details:- options misses the property 'resourceRegExp'. Should be:
RegExp
-> A RegExp to test the request against. - options misses the property 'checkResource'. Should be:
function
-> A filter function for resource and context.
- options misses the property 'resourceRegExp'. Should be:
from gatsby-starter-ghost.
have same issue anyone found solution ?
from gatsby-starter-ghost.
Should be fixed with #510
from gatsby-starter-ghost.
Related Issues (20)
- Can't get the "Deploy to netlify" button to work HOT 2
- Favicon and title error HOT 1
- Unable to enabe Google Analytics HOT 2
- How to add tag conditions in gatsby ghost blog? HOT 1
- Action Required: Fix Renovate Configuration
- Ghost localhost image URLs pushed to live site via Gatsby. HOT 1
- When we will get an update version of Ghost 4? HOT 1
- Error: cheerio.load() expects a string HOT 1
- Dependency Dashboard
- ValidationError: Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema. HOT 2
- Deploy to netlify does not work HOT 2
- gatsby develop build fails with Invalid options object - Fresh Installation HOT 10
- Add Strapi/other CMS support
- Lint script fails due to parsing errors
- Unhandled Runtime Error: _gatsbyScript.PartytownContext is undefined HOT 6
- Can I run this at folder level? HOT 1
- Error in function PartytownProvider HOT 2
- 0.001 s 0/4 0% Building static HTML for pages
- X
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-starter-ghost.