Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

@rescript/runtime dependency problems

$
0
0

heh, no, esbuild fails as well:

getting tons of these:

✘ [ERROR] Could not resolve "@rescript/runtime/lib/es6/Stdlib_Option.js"

    lib/es6/src/foundation/foundation_duration.res.js:3:31:
      3 │ import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
        ╵                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "@rescript/runtime/lib/es6/Stdlib_Option.js" as external to exclude it from
  the bundle, which will remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@rescript/runtime/lib/es6/Primitive_exceptions.js"

    lib/es6/src/foundation/foundation_duration.res.js:4:38:
      4 │ import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js";
        ╵                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "@rescript/runtime/lib/es6/Primitive_exceptions.js" as external to exclude
  it from the bundle, which will remove this error and leave the unresolved path in the bundle.

Viewing all articles
Browse latest Browse all 2592

Trending Articles