Giter Club home page Giter Club logo

debattons's Issues

Docker setup issues

I encountered some issues while trying to run Debattons using Docker as detailed in the README:

After /opt/debattons/docker/cmd.sh build-and-run, debattons:dev is correctly created but doesn't start orientdb. Container logs show:

/usr/local/bin/build-and-run.dev.sh: line 31: /opt/orientdb/bin/server.sh: No such file or directory

The installation log tells us what the problem really is:

$ wget http://central.maven.org/maven2/com/orientechnologies/orientdb-community-gremlin/3.0.0RC1/orientdb-community-gremlin-3.0.0RC1.tar.gz
/usr/local/bin/setup.sh: line 50: wget: command not found

After adding apt-get install wget to build script, the database gets created successfully:

Creating database [remote:localhost/debattons] using the storage type [PLOCAL]...
Database created successfully.

(PR incoming for this part)

However I then get another error :

+ yarn install --no-bin-links
+ cd /opt/debattons/api-server
+ mvn spring-boot:run
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[ERROR] Could not create local repository at /home/user/.m2/repository -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@angular/cli > @angular-devkit/[email protected]" has unmet peer dependency "@angular-devkit/[email protected]".
warning "@angular/cli > @schematics/[email protected]" has unmet peer dependency "@angular-devkit/[email protected]".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 137.24s.
+ chmod +x ./node_modules/@angular/cli/bin/ng
+ ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0
module.js:471
    throw err;
    ^

Error: Cannot find module '@angular-devkit/core'
    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.<anonymous> (/opt/debattons/ui/node_modules/@angular-devkit/schematics/src/tree/virtual.js:10:16)
    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)

I'll look more into that later, I need to try again with a fresh install.


Config: Ubuntu 16.04 x64, Docker version 17.12.0-ce, build c97c6d6

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.