Skip to content
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

Need path option in config. But not described in docs #31

Open
dcromster opened this issue Oct 22, 2022 · 0 comments
Open

Need path option in config. But not described in docs #31

dcromster opened this issue Oct 22, 2022 · 0 comments
Labels
flag: good first issue Good for newcomers issue: bug Something isn't working severity: low source: documentation status: confirmed version: Strapi 4 Issues related to the versions supported by Strapi 4

Comments

@dcromster
Copy link

$ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: good first issue Good for newcomers issue: bug Something isn't working severity: low source: documentation status: confirmed version: Strapi 4 Issues related to the versions supported by Strapi 4
Projects
None yet
Development

No branches or pull requests

2 participants