Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work at all #5

Open
tricoos opened this issue Feb 15, 2023 · 0 comments
Open

Doesn't work at all #5

tricoos opened this issue Feb 15, 2023 · 0 comments

Comments

@tricoos
Copy link

tricoos commented Feb 15, 2023

It does not work at all as it is in the repository.
First of all it requires nodemon globally for executing the npm run dev in docker-compose.yml. Second even if you add that to the Dockerfile to install it globally then something else is obviously missing:

nikto-web-ui-app-1  | [nodemon] 2.0.20
nikto-web-ui-app-1  | [nodemon] to restart at any time, enter `rs`
nikto-web-ui-app-1  | [nodemon] watching path(s): server/**/*
nikto-web-ui-app-1  | [nodemon] watching extensions: js,mjs,json
nikto-web-ui-app-1  | [nodemon] starting `node server/index.js`
nikto-web-ui-app-1  | node:internal/modules/cjs/loader:936
nikto-web-ui-app-1  |   throw err;
nikto-web-ui-app-1  |   ^
nikto-web-ui-app-1  |
nikto-web-ui-app-1  | Error: Cannot find module 'next'
nikto-web-ui-app-1  | Require stack:
nikto-web-ui-app-1  | - /app/server/index.js
nikto-web-ui-app-1  |     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
nikto-web-ui-app-1  |     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
nikto-web-ui-app-1  |     at Module.require (node:internal/modules/cjs/loader:999:19)
nikto-web-ui-app-1  |     at require (node:internal/modules/cjs/helpers:102:18)
nikto-web-ui-app-1  |     at Object.<anonymous> (/app/server/index.js:1:14)
nikto-web-ui-app-1  |     at Module._compile (node:internal/modules/cjs/loader:1099:14)
nikto-web-ui-app-1  |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
nikto-web-ui-app-1  |     at Module.load (node:internal/modules/cjs/loader:975:32)
nikto-web-ui-app-1  |     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
nikto-web-ui-app-1  |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
nikto-web-ui-app-1  |   code: 'MODULE_NOT_FOUND',
nikto-web-ui-app-1  |   requireStack: [ '/app/server/index.js' ]
nikto-web-ui-app-1  | }
nikto-web-ui-app-1  |
nikto-web-ui-app-1  | Node.js v17.9.0
nikto-web-ui-app-1  | [nodemon] app crashed - waiting for file changes before starting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant