praneeth-rdy / praneeth-rdy.github.io

This is my static portfolio website built using Gatsby which is an open-source static site generator built on top of Node.js using React and GraphQL. This site is delpoyed on GitHub Pages.
https://praneeth-rdy.github.io/
MIT License
0 stars 1 forks source link

Fix the dependency errors #13

Open BarzinDevelops opened 2 years ago

BarzinDevelops commented 2 years ago

When running: " npm run develop " allot of warnings/errors etc come up as shown here:

praneeth-rdy.github.io@1.0.0 develop gatsby develop

╔════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Gatsby collects anonymous usage analytics ║ ║ to help improve Gatsby for all users. ║ ║ ║ ║ If you'd like to opt-out, you can use gatsby telemetry --disable ║ ║ To learn more, checkout https://gatsby.dev/telemetry ║ ║ ║ ╚════════════════════════════════════════════════════════════════════════╝

ERROR

(node:14592) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Github\praneeth-rdy.github.io\node_modules\@gatsbyjs\relay-compiler\package.json' of 'RelayCompilerPublic'. Please either fix that or report it to the module author (Use node --trace-deprecation ... to show where the warning was created)

success open and validate gatsby-configs - 0.144s warn Plugin gatsby-remark-images is not compatible with your gatsby version 2.11.1 - It requires gatsby@^4.0.0-next warn Plugin gatsby-transformer-remark is not compatible with your gatsby version 2.11.1 - It requires gatsby@^3.0.0-next.0 warn Plugin gatsby-transformer-sharp is not compatible with your gatsby version 2.11.1 - It requires gatsby@^4.0.0-next
warn Plugin gatsby-plugin-sharp is not compatible with your gatsby version 2.11.1 - It requires gatsby@^4.0.0-next warn Plugin gatsby-plugin-manifest is not compatible with your gatsby version 2.11.1 - It requires gatsby@^4.0.0-next

ERROR

UNHANDLED REJECTION Unable to find plugin "gatsby-plugin-image". Perhaps you need to install its package?

Error: Unable to find plugin "gatsby-plugin-image". Perhaps you need to install its package?

This makes it impossible to test different changes.

praneeth-rdy commented 2 years ago

I've just found that the project isn't working with npm. I've been using yarn till now to manage the packages because of which I'm not getting dependency errors. I'll resolve this as soon as possible. Thanks for the issue.