JSPM

  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q48704F
  • License MIT

Package Exports

  • keystone-6-oauth
  • keystone-6-oauth/dist/keystone-6-oauth.cjs.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (keystone-6-oauth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Getting Started

NPM Package · Documentation

Installation

  • Currently the only package manager that is tested and that we are certain will work without any issues is Yarn.
  • PNPM currently may break things and if you decide to use it, run into some issues, please feel free to open a pull request (but please only do so, if you can provide a reproduction).
    • If you find a solution to any problems, a PR will be very much appreciated!

Step 1 - install

  yarn add @opensaas/keystone-nextjs-auth

Next Steps

Please visit our docs for complete installation guide.

Troubleshooting

If you are having issues with this package, please open a New issue.

Known issues

v0.3.3

With this version you may run into a situation where the Keystone backend is compiling infinitely.

This will result in an error that looks something like this:

    // ...

    FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
     1: 0x104a0846c node::Abort() [/Users/scottagirs/n/bin/node]

    // ...

This is a known issue and will be fixed in the next release. For the time being you can fix it by adding a "next" resolution to your project's package.json:

// package.json
{
    "//": ".... other values",
    "resolutions": {
        "next": "12.2.4"
    }
    "//": ".... other values",
}

Credits: Josh Calder · @scottagirs · @OpenSaasAU · iJS.to