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.

Break out ndb-inspect as a npm package

See original GitHub issue

The current repo has an embedded npm package ndb-inspect. Evidently the only source for this package is here inside of this project. This awkward arrangement confuses the folks who review our use of npm modules.

I think the system would be clearer if we went one of two directions:

  1. spin out ndb-inspect as its own project.
  2. remove the npm trappings and just load the js where needed.

Would a Pull Request along one of these lines be considered?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ak239commented, Nov 25, 2018

Latest ndb@1.0.33 contains fix for ndb/inspect-brk. Thanks for your bug report.

1reaction
ak239commented, Nov 24, 2018

Unfortunately in Node.js it is not possible to require globally installed module. It might be possible only with extending NODE_PATH environment variable [1]. [1] https://stackoverflow.com/questions/15636367/nodejs-require-a-global-module-package

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using npm packages in your projects
If you are creating a Node.js module, you can use a package in your module by passing it as an argument to the...
Read more >
package.json - npm Docs
Description. This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just...
Read more >
Downloading and installing packages locally - npm Docs
This is npm install 's default behavior. Installing an unscoped package. Unscoped packages are always public, which means they can be searched for,...
Read more >
npm-install - npm Docs
Description. This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap...
Read more >
About packages and modules - npm Docs
The npm registry contains packages, many of which are also Node modules, ... A package is a file or directory that is described...
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