Coder Social home page Coder Social logo

Comments (8)

thevahidal avatar thevahidal commented on May 30, 2024

I see, I missed node_env.
I'll update it asap.

from soul.

thevahidal avatar thevahidal commented on May 30, 2024

@maacl, this issues should be fixed in v0.0.5

from soul.

maacl avatar maacl commented on May 30, 2024

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.

thevahidal avatar thevahidal commented on May 30, 2024

@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.

maacl avatar maacl commented on May 30, 2024

Nope, tried that. Still getting the same error.

from soul.

thevahidal avatar thevahidal commented on May 30, 2024

@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.

maacl avatar maacl commented on May 30, 2024

from soul.

thevahidal avatar thevahidal commented on May 30, 2024

Great, Glad that it's finally working.

from soul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.