Comments (8)
I see, I missed node_env.
I'll update it asap.
from soul.
@maacl, this issues should be fixed in v0.0.5
from soul.
With 0.0.5 on Linux this now fails with:
❯ soul -d sakila-master.db -p 8000
/mnt/c/Users/marti/AppData/Roaming/npm/node_modules/soul-cli/node_modules/bindings/bindings.js:121
throw e;
^
Error: /mnt/c/Users/marti/AppData/Roaming/npm/node_modules/soul-cli/node_modules/better-sqlite3/build/Release/better_sqlite3.node: invalid ELF header
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at bindings (/mnt/c/Users/marti/AppData/Roaming/npm/node_modules/soul-cli/node_modules/bindings/bindings.js:112:48)
at new Database (/mnt/c/Users/marti/AppData/Roaming/npm/node_modules/soul-cli/node_modules/better-sqlite3/lib/database.js:48:64)
at new Database (/mnt/c/Users/marti/AppData/Roaming/npm/node_modules/soul-cli/src/db/index.js:7:15)
at Object.<anonymous> (/mnt/c/Users/marti/AppData/Roaming/npm/node_modules/soul-cli/src/db/index.js:26:18)
at Module._compile (node:internal/modules/cjs/loader:1101:14) {
code: 'ERR_DLOPEN_FAILED'
}
from soul.
@maacl,
This might be related to these issues from Better-Sqlite3
I think maybe the node_modules is messed up due to updating it multiple times. I would suggest that it might help to completely delete soul
and its node_modules
(It should be inside /usr/lib/
, try npm list -g
) and then re-install it again.
from soul.
Nope, tried that. Still getting the same error.
from soul.
@maacl,
I just created a replit project to see if there are any problems and it didn't have any.
here's the link to replit for you to test:
from soul.
from soul.
Great, Glad that it's finally working.
from soul.
Related Issues (20)
- Open studio using CLI
- Failure installing on Apple Silicon HOT 3
- dev experience when running on empty db HOT 3
- Fails with missing port on both Windows and Linux HOT 2
- Support for URL (non-local) database file
- Any specific usage scenarios for this? HOT 1
- Support full set of REST calls expected by react-admin HOT 10
- Declare shiny new `Automatic-API` HOT 3
- Import data from json file
- Soul must be extendable
- Migrate to fastify
- Protection against SQL injection HOT 6
- Extensions support for APIs
- `better-sqlite3` installation keeps failing when i run `npm install` in the core folder (for MacOs) HOT 2
- Host static web-content HOT 2
- Screenshot of studio in readme HOT 1
- The `extensions.js` file throws an error when i try to run an extension HOT 6
- Soul must support relative paths for extensions.
- Support Support for multiple sqlite files HOT 2
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 soul.