Thank you! The Fork from @baris is what I need.
Do I have to build the fork inside the docker? Since it's not setup with dev-packages, I try to avoid this kind of tinkering.
I have trouble getting the package built inside the docker:
npm i "https://github.com/barisusakli/nodebb-plugin-calendar/tarball/main"
npm activate nodebb-plugin-calendar
./nodebb build
fails with the following error:
[email protected]:/usr/src/app$ ./nodebb build
started
2022-05-21T12:52:34.420Z [4567/2257] - warn: [plugins] File not found: /usr/src/app/node_modules/nodebb-plugin-calendar/build/bundles/ (Ignoring)
2022-05-21T12:52:34.421Z [4567/2257] - error: [build] Encountered error preparing for build
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.stat (node:internal/fs/promises:660:10)
at processDir (/usr/src/app/src/plugins/data.js:102:36)
at async Promise.all (index 0)
at async Data.getStaticDirectories (/usr/src/app/src/plugins/data.js:120:2)
2022-05-21T12:52:34.422Z [4567/2257] - error: [build] Encountered error during build step
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.stat (node:internal/fs/promises:660:10)
at processDir (/usr/src/app/src/plugins/data.js:102:36)
at async Promise.all (index 0)
at async Data.getStaticDirectories (/usr/src/app/src/plugins/data.js:120:2)
2022-05-21T12:52:34.422Z [4567/2257] - error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.stat (node:internal/fs/promises:660:10)
at processDir (/usr/src/app/src/plugins/data.js:102:36)
at async Promise.all (index 0)
at async Data.getStaticDirectories (/usr/src/app/src/plugins/data.js:120:2)