Giter VIP home page Giter VIP logo

Comments (5)

ascorbic avatar ascorbic commented on September 9, 2024

Sounds good! If you want to open a PR I'm happy to look at it, otherwise I should be able to get to it in a couple of weeks

from netlify-plugin-gatsby.

geritol avatar geritol commented on September 9, 2024

@ascorbic I am giving it a try right now.
I am not yet able to run tests yet.

Steps that I have figured out that I could not find documented in CONTRIBUTING.md:

  • I needed to install dependencies in the plugin folder too
  • I needed to install netlify-cli as a dev dependency to the root package

Currently the test command is filing with:

> [email protected] build:netlify
> netlify build --offline

internal/modules/cjs/loader.js:834
  throw err;
  ^

Error: Cannot find module '@oclif/command'

Do you have any pointer what the issue could be?
I guess @oclif/command should be a dependency to netlify-cli

from netlify-plugin-gatsby.

geritol avatar geritol commented on September 9, 2024

if I install netlify cli globally it fails with the following error

> [email protected] build:netlify
> netlify build --offline

internal/modules/cjs/loader.js:834
  throw err;
  ^

Error: Cannot find module 'update-notifier'

from netlify-plugin-gatsby.

geritol avatar geritol commented on September 9, 2024

Uninstalled a reinstalled netlify cli globally and it solved the above issue.
Now I am running into
There was a problem loading the local build command. Gatsby may not be installed. Perhaps you need to run "npm install"? Cannot find module 'date-fns/getDayOfYear'

from netlify-plugin-gatsby.

ascorbic avatar ascorbic commented on September 9, 2024

Looking at the Gatsby docs, there is no mention of support for res.cookie(). It seems that because the dev server uses Express, those are supported by accident, but as this is not documented and may not work in production. For that reason I don't think we should add support.

from netlify-plugin-gatsby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.