Skip to content

Fix test failure #11

Description

@taoeffect

Problem

https://github.com/okTurtles/strings/actions/runs/35906014719

Failed twice with the same error:

(cd _build/default && /home/runner/work/strings/strings/_opam/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -warn-error -A -g -bin-annot -I src/sedlex/.flow_sedlexing.objs/byte -no-alias-deps -opaque -o src/sedlex/.flow_sedlexing.objs/byte/flow_sedlexing.cmi -c -intf src/sedlex/flow_sedlexing.mli)
File "src/sedlex/flow_sedlexing.mli", line 35, characters 2-43:
35 |   (** This API avoids another allocation *)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: ambiguous documentation comment
File "src/quickjs/dune", lines 23-32, characters 0-205:
23 | (rule
24 |   (targets runtime.js)
25 |   (deps parsers.js)
26 |   (action (bash "
27 |     DIR=\"$(pwd)\"
28 |     cd %{project_root}/../../
29 |     npx browserify src/quickjs/parsers.js > \"$DIR/runtime.js\"
30 |   "))
31 |   (mode standard)
32 | )
(cd _build/default/src/quickjs && /usr/bin/bash -e -u -o pipefail -c '
    DIR="$(pwd)"
    cd ../../../../
    npx browserify src/quickjs/parsers.js > "$DIR/runtime.js"
  ')
Error: Can't walk dependency graph: Cannot find module 'typescript' from '/home/runner/work/strings/strings/src/quickjs/parsers.js'
    required by /home/runner/work/strings/strings/src/quickjs/parsers.js
    at /home/runner/work/strings/strings/node_modules/resolve/lib/async.js:153:35
    at processDirs (/home/runner/work/strings/strings/node_modules/resolve/lib/async.js:306:39)
    at isdir (/home/runner/work/strings/strings/node_modules/resolve/lib/async.js:313:32)
    at /home/runner/work/strings/strings/node_modules/resolve/lib/async.js:41:69
    at FSReqCallback.oncomplete (node:fs:196:21)
Error: Process completed with exit code 1.

Solution

Dunno. Fix!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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