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.

Unable to run my project due to unavailable dep

See original GitHub issue

I tried to add denodb to my project, but a dependency seems unavailable.

error: Import 'https://dev.jspm.io/npm:@jspm/core@1/nodelibs/timers.js' failed: 500 Internal Server Error

error: Import 'https://dev.jspm.io/npm:@jspm/core@1/nodelibs/timers.js' failed: 500 Internal Server Error

steps to reproduce

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:12
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
joeldesantecommented, Jul 18, 2022

I’ve implemented the pull request on my own fork of the project if anyone needs it and doesn’t want to do it themselves.

Here is an example of the import to use for the fixed version while we wait for the pull request.

import { Relationships, DataTypes, Database, Model, SQLite3Connector } from 'https://raw.githubusercontent.com/joeldesante/denodb/master/mod.ts';
3reactions
reggicommented, Aug 20, 2022

workaround:

{
  "imports": {
    "https://dev.jspm.io/npm:@jspm/core@1/nodelibs/timers.js": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.24/nodelibs/deno/timers.ts",
    "https://dev.jspm.io/inherits@2.0": "https://ga.jspm.io/npm:inherits@2.0.4/inherits.js",
  },
  "scopes": {
    "https://ga.jspm.io/": {
      "util": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.24/nodelibs/deno/util.ts"
    }
  }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

npm can't find package.json - Stack Overflow
json is not available in your project. So, to create package.json , use the following steps: open command prompt on your project directory;...
Read more >
Apple DEP | Enroll/Remove Devices in ... - ManageEngine
This error is shown if the device is either not eligible for DEP enrollment or is either already enrolled or owned by another...
Read more >
Frequently Asked Questions on Public Works
Awarding bodies are not required to provide information that is not available at the time of project registration. What happens if an awarding ......
Read more >
How to Fix the HTTP Error 503 Service Unavailable - Kinsta
1. Temporarily Deactivate Your WordPress Plugins · Start with the first folder, and rename it to anything you like. · Check your website...
Read more >
Troubleshoot common issues with triggers - Power Automate
Find and fix issues when your flows won't run. ... My flow triggers multiple times; Users are unable to run flows that are...
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