dillonkearns / elm-typescript-interop

Generate TypeScript declaration files for your elm ports!
BSD 3-Clause "New" or "Revised" License
165 stars 13 forks source link

Stack overflow exception #33

Open miniBill opened 4 years ago

miniBill commented 4 years ago
$ elm-typescript-interop
/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1
!function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnPrope

RangeError: Maximum call stack size exceeded
    at Function.func (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:57807)
    at _ (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:23833)
    at Function.func (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:57898)
    at _ (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:23833)
    at Function.func (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:57898)
    at _ (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:23833)
    at Function.func (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:57898)
    at _ (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:23833)
    at Function.func (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:57898)
    at _ (/home/minibill/.npm-global/pnpm-global/4/node_modules/.pnpm/elm-typescript-interop@0.0.17/node_modules/elm-typescript-interop/dist/bundle.js:1:23833)

Elm.json:

{
    "type": "application",
    "source-directories": [
        "client/src",
        "server/src"
    ],
    "elm-version": "0.19.1",
    "dependencies": {
        "direct": {
            "Janiczek/elm-bidict": "2.0.1",
            "avh4/elm-color": "1.0.0",
            "danfishgold/base64-bytes": "1.0.3",
            "elm/browser": "1.0.2",
            "elm/bytes": "1.0.8",
            "elm/core": "1.0.5",
            "elm/file": "1.0.5",
            "elm/html": "1.0.0",
            "elm/http": "2.0.0",
            "elm/json": "1.1.3",
            "elm/random": "1.0.0",
            "elm/svg": "1.0.1",
            "elm/time": "1.0.0",
            "elm/url": "1.0.0",
            "elm-community/list-extra": "8.2.4",
            "elm-community/random-extra": "3.1.0",
            "mdgriffith/elm-ui": "1.1.5",
            "miniBill/elm-avataaars": "1.0.0",
            "miniBill/elm-codec": "2.0.0"
        },
        "indirect": {
            "elm/virtual-dom": "1.0.2",
            "elm-community/dict-extra": "2.4.0",
            "erlandsona/assoc-set": "1.1.0",
            "owanturist/elm-union-find": "1.0.0",
            "pzp1997/assoc-list": "1.0.0",
            "skyqrose/assoc-list-extra": "1.0.0"
        }
    },
    "test-dependencies": {
        "direct": {
            "elm-explorations/test": "1.2.2"
        },
        "indirect": {}
    }
}

I can give you access to the code repository if needed [project will be open sourced probably, still need some auth from a couple people]

arsduo commented 4 years ago

Hi @miniBill! Were you able to fix this issue? I'm running into this with a project as well.