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.

Consider Node support?

See original GitHub issue

Might sound like the douchy ‘could you build this for me’ guy here, but I think this would be great to have in a non browser env (eg. no window).

If you want to consider this option I might try and check it out over a PR 😊

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ndelvallecommented, Feb 28, 2017

Thanks for reporting @joakimbeng I’ll take a look.

1reaction
joakimbengcommented, Feb 27, 2017

@gillchristian Great! But I’m afraid it doesn’t work…

❯ node
> trae = require('trae')
ReferenceError: self is not defined
    at /my_project/node_modules/trae/dist/trae.min.js:472:26
    at support.searchParams (/my_project/node_modules/trae/dist/trae.min.js:8:82)
    at Object.<anonymous> (/my_project/node_modules/trae/dist/trae.min.js:11:2)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)

This is because the built and minified library is specified in the package.json’s main field.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Should You Consider Using Node.Js Development? A ...
How was Node.js created and how it works? When to consider using Node.js development? We'll try to answer these questions in brief to...
Read more >
Consider explicit string formatting module #43382 - GitHub
What is the problem this feature will solve? Node.js has multiple formatting related APIs such as util.inspect(), util.format(), util.
Read more >
What Is Node.js and Why You Should Use It
Let's take a look at why Node.js works for both backend and frontend: Reusability – JavaScript is a common language that's used to...
Read more >
Why the Hell Would I Use Node.js? A Case-by-case Tutorial
Before we dig into Node.js (“Node”) solutions, consider that applying JavaScript across the stack to unify the language and data format (JSON), ...
Read more >
Maintainers Should Consider Following Node.js' Release ...
tldr; Node.js has a tried and true release schedule, supporting LTS versions for 30 months. It offers significant benefits to the community ...
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