question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installing fail on ubuntu server

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
krishnagopinathcommented, Jan 25, 2017

Hey, glad you like the design! 😃

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

0reactions
slipperzzzcommented, Jan 28, 2017

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu Server Install Failure (from usb) - Reddit
I tried installing Ubuntu server 20.04 serveral times today. I followed ubuntu's tutorials to boot from usb using Rufus.
Read more >
Question #700708 “Ubuntu Server installation fails every time”
I tried installing Ubuntu Server 20.04.3 multiple times now and it always says there was an error during installation right at the end ......
Read more >
Ubuntu Server 22.04 and 20.04 error during installation and ...
Let the PC boot normally into the OS installer (on a 16GB USB drive). The installation has failed everytime; "Error occured during installation" ......
Read more >
Ubuntu Installation Keeps Failing - Support & Help Requests
I am trying to install Ubuntu 20.04 onto my desktop but it keeps failing with error “The attempt to mount a file system...
Read more >
Ubuntu 20.04 server install failing from live cd
2 Answers 2 · Check the checksum of the .ISO if you suspect it is corrupted. · Are you mounting it from your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found