strapi-community/strapi-plugin-rest-cache

Need path option in config. But not described in docs

dcromster opened this issue · 1 comments

$ yarn build
yarn run v1.22.19
$ strapi build
Building your admin UI with development configuration...
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:393:5)
at validateString (node:internal/validators:161:11)
at Object.resolve (node:path:1098:7)
at /home/rom/Documents/Projects/test/citizenscience.ru/node_modules/@strapi/admin/utils/create-cache-dir.js:82:33
at Array.filter ()
at createCacheDir (/home/rom/Documents/Projects/test/citizenscience.ru/node_modules/@strapi/admin/utils/create-cache-dir.js:80:6)
at async Object.build (/home/rom/Documents/Projects/test/citizenscience.ru/node_modules/@strapi/admin/index.js:27:3)
at async module.exports (/home/rom/Documents/Projects/test/citizenscience.ru/node_modules/@strapi/strapi/lib/commands/build.js:12:3) {
code: 'ERR_INVALID_ARG_TYPE'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.