question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AssertionError: "data" is unexpectedly null for "/v23/_node.ns.d.ts". when running `pnpm dev`

See original GitHub issue

Error stacktrace

Check https://deno.land/x/aleph@v0.2.28/cli/dev.ts
error: Uncaught (in promise) TypeError: AssertionError: "data" is unexpectedly null for "/v23/_node.ns.d.ts".
    at assert (deno:cli/tsc/99_main_compiler.js:67:13)
    at Object.getSourceFile (deno:cli/tsc/99_main_compiler.js:279:7)
    at findSourceFileWorker (deno:cli/tsc/00_typescript.js:108104:29)
    at findSourceFile (deno:cli/tsc/00_typescript.js:108014:26)
    at deno:cli/tsc/00_typescript.js:107966:85
    at getSourceFileFromReferenceWorker (deno:cli/tsc/00_typescript.js:107933:34)
    at processSourceFile (deno:cli/tsc/00_typescript.js:107966:13)
    at deno:cli/tsc/00_typescript.js:108252:17
    at Object.forEach (deno:cli/tsc/00_typescript.js:384:30)
    at processReferencedFiles (deno:cli/tsc/00_typescript.js:108251:16)
    const { default: cmd } = await import(`./cli/${command}.ts`)
                             ^
    at async main (https://deno.land/x/aleph@v0.2.28/cli.ts:163:30)

Reproduction

  • aleph init hello
  • cd hello
  • aleph dev

Useful info

  • Deno version: 1.8.0
  • Aleph version: 0.2.28

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
shadowtime2000commented, Mar 14, 2021

@talentlessguy It’s Deno 1.8.0 compatable on master, so next release will work with 1.8

1reaction
shadowtime2000commented, Mar 14, 2021

Seems to be a bug with ESM

cc @ije

Read more comments on GitHub >

github_iconTop Results From Across the Web

AssertionError when debugging in VS Code #2946 - GitHub
Whenever I run it, I run into this error on any of the test files: Uncaught exception in tests\temp.tests.ts AssertionError [ERR_ASSERTION]: ...
Read more >
Error Codes | pnpm
This error happens when installation cannot be performed without changes to the lockfile. This might happen in a CI environment if someone has...
Read more >
Deno oak error: Uncaught AssertionError: Unexpected skip of ...
I was introducing me in Deno with the "complex program" in its Getting started section and I was unable to run the program...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found