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.

Can't locate promises from {"type":"DENO.LAND URL ...}

See original GitHub issue

So i am trying to denoify(v1.0.2) a forked project at https://github.com/waptik/epubgen and i’m getting the following error:

Denoify is reading sources files from lib
Deno distribution will be generated at deno_dist
/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/bin/denoify.js:7
    throw error;
    ^

Error: Can't locate promises from {"type":"DENO.LAND URL","isStd":true,"baseUrlWithoutBranch":"https://deno.land/std","pathToIndex":"node/fs.ts"}
    at /home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/lib/resolveNodeModuleToDenoModule/resolveNodeModuleToDenoModule.js:374:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async callee (/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/tools/addCache.js:19:33)
    at async denoifyImportExportStatement (/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/lib/denoifyImportExportStatement.js:77:26)
    at async /home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/lib/denoifySingleFile.js:91:60
    at async Promise.all (index 0)
    at async replaceAsync (/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/tools/replaceAsync.js:12:18)
    at async denoifySingleFile (/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/lib/denoifySingleFile.js:90:38)
    at async transformSourceCodeString (/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/lib/denoify.js:114:39)
    at async transformCodebase (/home/waptik/code/node/epubgen/node_modules/.pnpm/denoify@1.0.2/node_modules/denoify/tools/transformCodebase.js:13:49)



Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
waptikcommented, Aug 29, 2022

@garronej Thanks for the fix. The project can now be denoified.

1reaction
garronejcommented, Aug 29, 2022

@waptik, I see the problem, fixing…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deno on Win 10 TS Error · Issue #85 · oakserver/oak - GitHub
Hi Everyone, I am try Oak middleware as as example below: import { Application } from "https://deno.land/x/oak/mod.ts"; const app = new ...
Read more >
Can't run server with Deno and Servest - Stack Overflow
In the error message you can see that there is a TypeError when typechecking this file, because Deno.Conn is missing the readable and...
Read more >
Promised Land - Wikipedia
The Promised Land is the land which, according to the Tanakh (the Hebrew Bible or the Old Testament), God promised and subsequently gave...
Read more >
The Law Cannot Enter The Promised Land - 1517
The promises of God are not obtained by law or obedience. They are gifts given by a gracious God. The man Moses will...
Read more >
3 Keys to Activating God's Promises in Your Life | Faith Island
Believing and obeying God are keys to unlocking His promises! Remember, God rewards FAITH, not unbelief! Hebrews 11:6 states, “But without ...
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