Skip to content

Formik #1035

@tukwan

Description

@tukwan

Hi, has anyone been able to run Formik with fresh? I've tried several approaches, but haven't had any luck so far.

//"react": "https://esm.sh/preact@10.7.2/compat",
import { Formik } from "https://esm.sh/formik@2.2.9"
import { Formik } from "https://esm.sh/formik@2.2.9?external=react"
import { Formik } from "https://esm.sh/formik@2.2.9?alias=react:preact/compat&deps=preact@10.7.2"
import { Formik } from "https://cdn.skypack.dev/formik" //this one seems work but when injected into JSX then fails
import { Formik } from "npm:formik@2.2.9"
error: Uncaught (in promise) TypeError: Import 'https://esm.sh/v106/lodash-es@4.17.21/deno/cloneDeep.js' failed: 500 Internal Server Error
    at https://esm.sh/v106/formik@2.2.9/deno/formik.js:2:734
  await import(entrypoint);
  ^
    at async dev (https://deno.land/x/fresh@1.1.2/src/dev/mod.ts:187:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions