Giter Site home page Giter Site logo

Comments (11)

krishnagopinath avatar krishnagopinath commented on May 12, 2024 1

Hey, glad you like the design! :)

Did you run npm install in the Matterwiki directory before npm run build?

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

@krishnagopinath Hi,

I just followed the install instruction,

I'm sure I did npm install before npm run build.

I will try npm install again and give you the information that I received.

If you can record a video to present how to install matter wiki, I would be very appreciated.

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

@krishnagopinath
Hi, when I did npm install,
there is a message says:

npm WARN deprecated [email protected]: use uuid module insteaddoParallel extract

from matterwiki.

krishnagopinath avatar krishnagopinath commented on May 12, 2024

Funny, seems to work here. Could you give me the npm-debug-log that is generated?

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

@krishnagopinath

I did npm install and then did npm run build again.
There is no error this time.
But when I did node index
This time something more interesting happened lol.

co@ubuntu-512mb-nyc1-01:~/matterwiki$ npm run build

[email protected] build /home/co/matterwiki
cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
721868ms o1ms optimiz37ms emit
Hash: 19d1ec6588b1b27ab67b
Version: webpack 1.13.2
Time: 15088ms
Asset Size Chunks Chunk Names
bundle.js 289 kB 0 [emitted] main
bundle.js.map 2.5 MB 0 [emitted] main
[0] multi main 40 bytes {0} [built]
factory:1ms building:3ms = 4ms
+ 258 hidden modules

co@ubuntu-512mb-nyc1-01:~/matterwiki$ node index
Knex: run
$ npm install sqlite3 --save
Error: Cannot find module '/home/co/matterwiki/node_modules/sqlite3/lib/binding/node-v48-linux-x64/node_sqlite3.node'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/co/matterwiki/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Client._driver (/home/co/matterwiki/node_modules/knex/lib/dialects/sqlite3/index.js:65:12)
at Client.initializeDriver (/home/co/matterwiki/node_modules/knex/lib/client.js:211:26)
at Client (/home/co/matterwiki/node_modules/knex/lib/client.js:92:10)
at Client_SQLite3 (/home/co/matterwiki/node_modules/knex/lib/dialects/sqlite3/index.js:51:23)

Does this mean something wrong with the database ?

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

@krishnagopinath I might try other VPS (I'm using Digital Ocean) and try again.
Do you have any recommend VPS server ?
Thank you

from matterwiki.

nshntarora avatar nshntarora commented on May 12, 2024

@misaki5960x Sometimes when the build fails, the sqlite package is left out and is not installed. Installing the package using npm install sqlite3 should fix the issue 😄

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

@nshntarora Thank you! I will try it!

from matterwiki.

slipperzzz avatar slipperzzz commented on May 12, 2024

@nshntarora Thank you again! It was the problem with sqlite. I did npm install sqlite3 before I did npm install, and now my server can run matterwiki without any problem!
Thank you guys! @nshntarora @krishnagopinath

from matterwiki.

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.