Comments (11)
Hey, glad you like the design! :)
Did you run npm install
in the Matterwiki directory before npm run build
?
from matterwiki.
@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.
@krishnagopinath
Hi, when I did npm install,
there is a message says:
npm WARN deprecated [email protected]: use uuid module insteaddoParallel extract
from matterwiki.
Funny, seems to work here. Could you give me the npm-debug-log that is generated?
from matterwiki.
from matterwiki.
from matterwiki.
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.
@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.
@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.
@nshntarora Thank you! I will try it!
from matterwiki.
@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)
- Automatic doc generation for the Matterwiki API
- Feature Request: Nested Pages
- How to set a favicon
- Installation under Plesk fails HOT 1
- SEO - URL issue HOT 4
- Just to check, does this use wiki markup for linking pages? HOT 1
- install in windows
- List Matterwiki at WikiMatrix
- Insert code blocks in a page with syntax highlighting
- Install failing on Ubuntu Server HOT 4
- n
- setup not working
- New contributor
- Another suggestion for prior art: TiddlyWiki
- Error during npm install after fork HOT 1
- malayalam translation
- Support for GraphQL crafted documents
- Can't we upgrade modules for security? HOT 5
- Compatible with wordpress, easy for users to log in, bridge the wordpress API HOT 1
- Error on npm start 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 matterwiki.