DISCLAIMER: This message was also posted to dspace-tech, but as I wanted to 
use this step for my DSpace development environment, I thought it also 
belonged here.


Hello everybody,

I just cloned the current DSpace and dspace-angular repositories and tried 
to run the code. Unfortunately, the described docker-compose route led me 
into an error that I cannot solve.

I followed the instructions given in 
https://github.com/DSpace/DSpace/blob/master/dspace/src/main/docker-compose/README.md
 by 
starting backend and frontend separately. I use Docker 19.03.8 on Windows 
10.

>From DSpace/DSpace
docker-compose -p d7 up -d
worked as far as I can see.

>From DSpace/DSpace-angular (build as needed)
docker-compose -p d7 -f docker/docker-compose.yml up
gives me the following error (top lines removed for brevity):

$ node ./scripts/webpack.js -w --mode development
                    $ nodemon dist/server.js
dspace-angular    | [nodemon] 1.18.4
dspace-angular    | [nodemon] to restart at any time, enter `rs`
dspace-angular    | [nodemon] watching: dist /app/config/**/* src/index.html
dspace-angular    | [nodemon] starting `yarn run server dist/server.js`
                    $ node dist/server.js dist/server.js
dspace-angular    | internal/modules/cjs/loader.js:985
dspace-angular    |   throw err;
dspace-angular    |   ^
dspace-angular    |
dspace-angular    | Error: Cannot find module '/app/dist/server.js'
dspace-angular    |     at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:982:15)
dspace-angular    |     at Function.Module._load 
(internal/modules/cjs/loader.js:864:27)
dspace-angular    |     at Function.executeUserEntryPoint [as runMain] 
(internal/modules/run_main.js:74:12)
dspace-angular    |     at internal/main/run_main_module.js:18:47 {
dspace-angular    |   code: 'MODULE_NOT_FOUND',
dspace-angular    |   requireStack: []
dspace-angular    | }
                    error Command failed with exit code 1.
                    info Visit https://yarnpkg.com/en/docs/cli/run for 
documentation about this command.
dspace-angular    | [nodemon] app crashed - waiting for file changes before 
starting...
dspace-angular    |
dspace-angular    | webpack is watching the files…
dspace-angular    |


Although the build phase succeeded, I got the following warnings:
Step 6/7 : RUN yarn install --network-timeout 300000
 ---> Running in 8c3b8af198ac
yarn install v1.22.0
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@1.2.11: The platform "linux" is incompatible with this module.
info "fsevents@1.2.11" is an optional dependency and failed compatibility 
check. Excluding it from installation.
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility 
check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > bootstrap@4.3.1" has unmet peer dependency "jquery@1.9.1 - 3".
warning " > bootstrap@4.3.1" has unmet peer dependency "popper.js@^1.14.7".
[5/5] Building fresh packages...

As the whole process only involves git clone and some docker-compose 
commands, I'm not sure whether I did anything wrong or whether the current 
repository is in an unstable status.

Kind regards,
Hendrik Geßner

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-devel/88ad29e1-0ed9-4fb2-bfe4-289743b06f9f%40googlegroups.com.

Reply via email to