Giter Site home page Giter Site logo

Comments (4)

rsaacademy avatar rsaacademy commented on May 25, 2024

Still looking for a fix, anyone have any ideas?

from matterwiki.

rivercome avatar rivercome commented on May 25, 2024

Hi All, Going mad with this issue and don't seem to be able to move forward.

Fresh install of Ubuntu Server 16.04, static IP address configured. Updated and upgraded via CLI.
Followed steps on: https://devhub.io/repos/Matterwiki-Matterwiki

cd'd into directory /home/administrator/matterwiki where the clone is located and ran sudo np install which results in the below error:

administrator@rsa-srv-029:~/matterwiki$ sudo npm install

[email protected] install /home/administrator/matterwiki/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

/usr/bin/env: β€˜node’: No such file or directory
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.4.0-131-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
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 sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sqlite3
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/administrator/matterwiki/npm-debug.log

Under pressure to get this working so any help is much appreciated.

I think the problem is because of your server don't have sqlite3
you can
apt-get install sqlite3
first

from matterwiki.

wancheng avatar wancheng commented on May 25, 2024

Still looking for a fix, anyone have any ideas?

try ln -s /usr/bin/nodejs `/usr/bin/node
then npm install again.

from matterwiki.

wcjx avatar wcjx commented on May 25, 2024

I have also encountered something with sqlite3:

node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v64-win32-x64.tar.gz

It seems that the old version is no longer there.
So I tried npm uninstall sqlite3 and then npm install sqlite3 to update sqlite3, and it works.
Or you could try my fork, which fixes it and has some improvements. πŸ™‚

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.