Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not import plugin (v 2.1.1 on netlify.app) #311

Closed
eightshone opened this issue Mar 2, 2022 · 11 comments
Closed

Could not import plugin (v 2.1.1 on netlify.app) #311

eightshone opened this issue Mar 2, 2022 · 11 comments
Labels
bug Something isn't working

Comments

@eightshone
Copy link

eightshone commented Mar 2, 2022

Thanks for reporting this bug!

If this is related to a typo or the documentation being unclear, please click on
the relevant page's Edit button (pencil icon) and suggest a correction
instead.

Please search other issues to make sure this bug has not already been reported.

Then fill in the sections below.

Describe the bug

I was deploying some updates for a project using gatsby's default wordpress starter. The last successful deploy was on march 1st

Steps to reproduce

I really don't know how to reproduce this one! Even the failed builds (not related to the plugin) got past the loading of the plugin and even retrieved data from my source.

Expected behavior

Plugin should load.

Configuration

Command line options and/or configuration file, if any.

Environment

Enter the following command in a terminal and copy/paste its output:

npx envinfo --system --binaries --browsers --npmPackages @netlify/plugin-gatsby

this is from the Netlify output
image

Screenshots
image

Can you submit a pull request?

No.

@eightshone eightshone added the bug Something isn't working label Mar 2, 2022
@eightshone eightshone changed the title Could not import plugin (v 2.1. Could not import plugin (v 2.1.1 on netlify.app) Mar 2, 2022
@t2ca
Copy link

t2ca commented Mar 2, 2022

I can confirm I also have the same issue with v2.1.1

A temporary fix is to add a previous version to your package.json

yarn add @netlify/plugin-gatsby@2.0.4

@grandrepublic
Copy link

I am also seeing this error. Happened after my build switched from using 2.0.3 -> 2.1.1

@tianheg
Copy link

tianheg commented Mar 3, 2022

have tested: v2.1.0 works

@sergio-ortiz
Copy link

sergio-ortiz commented Mar 3, 2022

Same thing here, I quickly uninstalled the plugin from the Netlify UI and the problem seemed to go away.
Screenshot from 2022-03-02 18-15-08
Screenshot from 2022-03-02 18-16-43

@grgcnnr
Copy link

grgcnnr commented Mar 3, 2022

Also seeing this behaviour

xee5ch added a commit to oscal-club/website that referenced this issue Mar 3, 2022
@ascorbic
Copy link
Member

ascorbic commented Mar 3, 2022

Hi. This is fixed it 2.1.2. It was caused by a corrupted file in the published package. See #310

@ryotaro-tenya0727
Copy link

I got same error, I can resolve "@netlify/plugin-gatsby": "2.0.4" in package.json

Thank you

@eightshone
Copy link
Author

eightshone commented Mar 3, 2022

@ascorbic thank you for the fix. Netlify is still using* 2.1.1 (I just checked). I will include the package explicitly in my packages until netlify change the version to 2.1.2
I don't know if I should close the issue or not tho?

@sergio-ortiz
Copy link

Might be old news but, I just wanted to say that Netlify is now using 2.1.2.

@eightshone
Copy link
Author

@sergio-ortiz you are right. I was about to close this issue.

@ascorbic
Copy link
Member

ascorbic commented Mar 4, 2022

Thanks everyone for your patience and help spotting this so quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants