Comments (3)
Figured out where it's coming from.
$ node
> var dblite = require('dblite')
undefined
> dblite.bin = "./bin/sqlite3/sqlite3";
'./bin/sqlite3/sqlite3'
> var db = dblite('./lib/database/mcjs.sqlite');
undefined
> Error: near "-": syntax error
bye bye
Edit: Looks to be from when you call dblite() as I tested it with another DB. Possibly an issue with the dependency? I upgraded to dblite 0.3.6 with no luck.
from mediacenterjs.
Root cause of issue:
sqlite3 binary was of a different architecture than my machine.
Downloading the binary from http://www.sqlite.org/download.html and then replacing the file in the ./bin/sqlite3/
folder fixed the error.
Maybe consider a way to check and get the right binary for the right architecture.
from mediacenterjs.
Great find! I don't have a mac so to be honest I did not test it properly on a Mac.
both the FFMPEG and SQLITE binaries should be included for MAC.
When the backend code has been refactored (Hoffi is doing that right now), I'll add a check to see if you are using a MAC. If so, the correct binaries will be used. I've added this on the Trello to do list
Thanks again for the find!
from mediacenterjs.
Related Issues (20)
- SQLite Error "SQLite is not able to choose the isolation level REPEATABLE READ."
- Unable to start mediacenterjs on Windows 10 HOT 4
- macOS server not starting
- Error while Running the Server:TypeError: Cannot read property 'prototype' of undefined HOT 4
- Suggestion: add --depth=1 to Install instructions via .git
- Feature Request: Load non media videos (Home made or Tutorials)
- Media not working
- Update bad ffmpeg compile flag in user manual: --enable-x11grab to --enable-libxcb HOT 1
- Unable to run make HOT 1
- watching videos remotely - get only loop of the first minute or so
- App crashes when start HOT 1
- Parallel processing of audio tracks
- Ensure callbacks are called in media-handler
- NPX should be used on: WIKI: "Developer manual: Start building an app using the app generator" HOT 2
- Windows installer HOT 1
- Error
- TypeError: Device.find is not a function Error after web setup completed HOT 1
- Error on Windows
- Horizontal Scrollbar can be removed
- Is the project dead?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediacenterjs.