You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
It does not work at all as it is in the repository.
First of all it requires
nodemon
globally for executing thenpm run dev
indocker-compose.yml
. Second even if you add that to theDockerfile
to install it globally then something else is obviously missing:The text was updated successfully, but these errors were encountered: