installing fail on ubuntu server
See original GitHub issueHi,
I’m new to use vps to run project. I really like how matterwiki looks. XD
When I run npm run build. Below is my problems.
` co@ubuntu:~/matterwiki$ npm run build
Matterwiki@0.1.0 build /home/connor/matterwiki cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
sh: 1: cross-env: not found
npm ERR! Linux 4.4.0-57-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “build”
npm ERR! node v6.9.4
npm ERR! npm v4.1.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! Matterwiki@0.1.0 build: cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the Matterwiki@0.1.0 build script ‘cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Matterwiki package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Matterwiki
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls Matterwiki
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/co/matterwiki/npm-debug.log ` I do have the node version 6.9.4 and npm version 4.1.2
Could you tell me what happen ?
Thank you
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (1 by maintainers)
Hey, glad you like the design! 😃
Did you run
npm install
in the Matterwiki directory beforenpm run build
?@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