Hi! Anyone ever managed to run strapi within the stackblitz webcontainer?
I tried different approaches:
- starting with their node template container with the npx-starter script and
- forking a github repository with a working strapi configuration commited.
This is the error I get:
❯ npm run develop
$ strapi develop
jsh: line 1: unsupported shell syntax
Building your admin UI with development configuration ...
Admin UI built successfully
jsh: line 1: unsupported shell syntax
[2022-03-05 17:13:58.574] debug: ⛔️ Server wasn't able to start properly.
[2022-03-05 17:13:58.576] error: Could not load js config file /home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/plugin-upload/strapi-server.js: p.getReport is not a function
Error: Could not load js config file /home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/plugin-upload/strapi-server.js: p.getReport is not a function
at loadJsFile (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:18:11)
at loadFile (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:35:14)
at Object.loadPlugins (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/core/loaders/plugins/index.js:96:26)
at async Strapi.loadPlugins (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/Strapi.js:277:5)
at async Promise.all (index 1)
at async Strapi.register (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/Strapi.js:309:5)
at async Strapi.load (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/Strapi.js:407:5)
at async Strapi.start (/home/projects/node-g5x1px/strapi-starter/node_modules/@strapi/strapi/lib/Strapi.js:161:9)
any ideas? I would love to use strapi this way for in-class demo - I’m a teacher in high school level education. Thx in advance