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.

npm install lightdash fails without unixODBC already installed

See original GitHub issue

Description

npm install lightdash fails if you don’t have unixODBC already installed.

perhaps include it into npm install lightdash?

To Reproduce

npm install -g @lightdash/cli

on m1 mac having just run: brew install npm

App Version

cloud eu

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
ZeRegocommented, Oct 3, 2022

If possible, the cli should detect the OS and installs odbc. If not, catch the error in the CLI and show there instructions on how they can install odbc. If not, we add these instructions to the docs.

Screenshot 2022-10-03 at 09 58 41

1reaction
ZeRegocommented, Oct 4, 2022

@rephus can we have that message as a warning instead of an error/blocker ? so If they get the error from odbc dependency they can find the warning. I don’t think we will be able to catch all the edge cases and OS.

@TuringLovesDeathMetal @owlas thoughts on this ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install the Lightdash CLI | Documentation
Before installing Lightdash CLI, you need to have NodeJS/NPM installed on your machine. To check that, run the following command in your terminal:....
Read more >
npm install odbc fails on OSX and Ubuntu - Stack Overflow
Here is what worked for me (OSX 10.10.2). Installing unixODBC via MacPorts did not work. The port itself installs and automatically updates the...
Read more >
How to Build LightDash from Source - iHack, therefore iBlog
While it is distributed as open source, the usual way to deploy it locally is by simply running a docker container. If you...
Read more >
odbc - npm
unixodbc bindings for node. Latest version: 2.4.6, last published: 2 days ago. Start using odbc in your project by running `npm i odbc`....
Read more >
Failed to install with `npm install` · Issue #78 - GitHub
System: macOS High Sierra Installing the package with npm installor sudo npm install fails with following error: > fsevents@1.2.4 install ...
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