-
Notifications
You must be signed in to change notification settings - Fork 49
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
Latest image not working #22
Comments
same error on docker image version 4.20.1,any way to fix it or which verison can work properly |
I got 4.14.5 working, not sure if that is the last working version. IDK how to fix it, I guess it is a node version issue, but honestly I could not spend too much time to analyze it. |
it works via console, ie docker run --rm -it ... && yarn && yarn build && yarn develop |
the same error for me |
the same for me |
See #23 (comment) |
When I fetch the latest image, this is not working, neither latest-alpine nor latest. I tried to start a fresh installation and I get following error:
Attaching to strapi-1
strapi-1 | node:internal/modules/cjs/loader:1137
strapi-1 | throw err;
strapi-1 | ^
strapi-1 |
strapi-1 | Error: Cannot find module 'react'
strapi-1 | Require stack:
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/cli.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/admin/index.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/action.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/command.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/index.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/cli.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/bin/strapi.js
strapi-1 | at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
strapi-1 | at Module._load (node:internal/modules/cjs/loader:975:27)
strapi-1 | at Module.require (node:internal/modules/cjs/loader:1225:19)
strapi-1 | at require (node:internal/modules/helpers:177:18)
strapi-1 | at Object. (/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js:15:15)
strapi-1 | at Module._compile (node:internal/modules/cjs/loader:1356:14)
strapi-1 | at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
strapi-1 | at Module.load (node:internal/modules/cjs/loader:1197:32)
strapi-1 | at Module._load (node:internal/modules/cjs/loader:1013:12)
strapi-1 | at Module.require (node:internal/modules/cjs/loader:1225:19) {
strapi-1 | code: 'MODULE_NOT_FOUND',
strapi-1 | requireStack: [
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/cli.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/index.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/action.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/command.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/index.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/cli.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/bin/strapi.js'
strapi-1 | ]
strapi-1 | }
strapi-1 |
strapi-1 | Node.js v18.19.0
strapi-1 | Using strapi
strapi-1 | No project found at /srv/app. Creating a new strapi project ...
strapi-1 | node:internal/modules/cjs/loader:1137
strapi-1 | throw err;
strapi-1 | ^
strapi-1 |
strapi-1 | Error: Cannot find module 'react'
strapi-1 | Require stack:
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/cli.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/admin/index.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/action.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/command.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/index.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/cli.js
strapi-1 | - /usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/bin/strapi.js
strapi-1 | at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
strapi-1 | at Module._load (node:internal/modules/cjs/loader:975:27)
strapi-1 | at Module.require (node:internal/modules/cjs/loader:1225:19)
strapi-1 | at require (node:internal/modules/helpers:177:18)
strapi-1 | at Object. (/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js:15:15)
strapi-1 | at Module._compile (node:internal/modules/cjs/loader:1356:14)
strapi-1 | at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
strapi-1 | at Module.load (node:internal/modules/cjs/loader:1197:32)
strapi-1 | at Module._load (node:internal/modules/cjs/loader:1013:12)
strapi-1 | at Module.require (node:internal/modules/cjs/loader:1225:19) {
strapi-1 | code: 'MODULE_NOT_FOUND',
strapi-1 | requireStack: [
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/dist/cli.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/admin/index.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/action.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/actions/watch-admin/command.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/commands/index.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/dist/cli.js',
strapi-1 | '/usr/local/share/.config/yarn/global/node_modules/@strapi/strapi/bin/strapi.js'
strapi-1 | ]
strapi-1 | }
strapi-1 |
strapi-1 | Node.js v18.19.0
strapi-1 exited with code 1
The text was updated successfully, but these errors were encountered: