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
my deployments are failing when adding this plugin to strapi. everything is working fine locally but the logs show this error when strapi tries to start up.
==> Running 'yarn start'
INFOyarn run v1.22.22
INFO$ strapi start
DEBUG[2024-04-14 12:58:15.539] debug: ⛔️ Server wasn't able to start properly.ERROR[2024-04-14 12:58:15.540] error: Cannot find module '/opt/render/project/src/src/plugins/strapi-plugin-ckeditor/package.json'INFORequire stack:INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/index.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/index.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/Strapi.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/action.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/command.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/index.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/cli.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/bin/strapi.jsERRORError: Cannot find module '/opt/render/project/src/src/plugins/strapi-plugin-ckeditor/package.json'INFORequire stack:INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/index.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/index.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/Strapi.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/action.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/command.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/index.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/cli.jsINFO- /opt/render/project/src/node_modules/@strapi/strapi/bin/strapi.jsINFO at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)INFO at Module._load (node:internal/modules/cjs/loader:984:27)INFO at Module.require (node:internal/modules/cjs/loader:1231:19)INFO at require (node:internal/modules/helpers:179:18)INFO at /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.js:92:27INFO at /opt/render/project/src/node_modules/lodash/lodash.js:4967:15INFO at baseForOwn (/opt/render/project/src/node_modules/lodash/lodash.js:3032:24)INFO at /opt/render/project/src/node_modules/lodash/lodash.js:4936:18INFO at Function.forEach (/opt/render/project/src/node_modules/lodash/lodash.js:9410:14)INFO at Module.getEnabledPlugins (/opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.js:83:22)ERRORerror Command failed with exit code 1.INFOinfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.INFO==> Common ways to troubleshoot your deploy: https://docs.render.com/troubleshooting-deploysINFO==> Requesting node version >=18.0.0 <=20.x.xINFO==> Using Node version 20.12.2 via /opt/render/project/src/package.jsonINFO==> Docs on specifying a Node version: https://render.com/docs/node-versionINFO==> Using Bun version 1.1.0 (default)INFO==> Docs on specifying a bun version: https://render.com/docs/bun-versionINFO==> Running 'yarn start'INFOyarn run v1.22.22INFO$ strapi startDEBUG[2024-04-14 12:58:22.030] debug: ⛔️ Server wasn't able to start properly.
ERROR[2024-04-14 12:58:22.031] error: Cannot find module '/opt/render/project/src/src/plugins/strapi-plugin-ckeditor/package.json'
INFORequire stack:
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/index.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/index.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/Strapi.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/action.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/command.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/index.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/cli.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/bin/strapi.js
ERRORError: Cannot find module '/opt/render/project/src/src/plugins/strapi-plugin-ckeditor/package.json'
INFORequire stack:
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/index.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/index.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/Strapi.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/action.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/actions/admin/create-user/command.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/commands/index.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/dist/cli.js
INFO- /opt/render/project/src/node_modules/@strapi/strapi/bin/strapi.js
INFO at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
INFO at Module._load (node:internal/modules/cjs/loader:984:27)
INFO at Module.require (node:internal/modules/cjs/loader:1231:19)
INFO at require (node:internal/modules/helpers:179:18)
INFO at /opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.js:92:27
INFO at /opt/render/project/src/node_modules/lodash/lodash.js:4967:15
INFO at baseForOwn (/opt/render/project/src/node_modules/lodash/lodash.js:3032:24)
INFO at /opt/render/project/src/node_modules/lodash/lodash.js:4936:18
INFO at Function.forEach (/opt/render/project/src/node_modules/lodash/lodash.js:9410:14)
INFO at Module.getEnabledPlugins (/opt/render/project/src/node_modules/@strapi/strapi/dist/core/loaders/plugins/get-enabled-plugins.js:83:22)
ERRORerror Command failed with exit code 1.
INFOinfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
my deployments are failing when adding this plugin to strapi. everything is working fine locally but the logs show this error when strapi tries to start up.
here's my root package.json:
just for the sake of convo, there is a package.json here:
src/plugins/strapi-plugin-ckeditor/package.json
my config/env plugin.js (also have copied this info into the env folder this is failing on):
any help would be appreciated!
The text was updated successfully, but these errors were encountered: