Closed Drillan767 closed 2 years ago
Hi @Drillan767 thanks for the report, unfortunately I am unable to reproduce this issue. Do you have some repo that I can have a look at?
Hello, sorry for the delay, the project wassn't in a repo yet
Here is the repo, I even tried on another computer to check if I had more luck, but nothing.
Just run yarn develop if you want to see the error by yourself
Per the package.json
the plugin has not been installed in the project
"dependencies": {
"@strapi/plugin-graphql": "^4.1.3",
"@strapi/plugin-i18n": "4.1.3",
"@strapi/plugin-seo": "^1.7.2",
"@strapi/plugin-users-permissions": "4.1.3",
"@strapi/strapi": "4.1.3",
"mysql": "2.18.1",
"strapi-plugin-comments": "^2.0.10"
},
Running an yarn add strapi-plugin-slugify
fixes this issue.
I feel like a HUGE idiot. Thanks a bunch 🥲
for mine it was node_modules volume cache, after I delete old node_modules volume it starts working
The issue is because the plugin wasn't installed but you had left the plugin config in your ./config/plugins.js
so Strapi was trying to load a plugin that no longer was installed.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined │
│ at __node_internal_captureLargerStackTrace (node:internal/errors:496:5) │
│ at new NodeError (node:internal/errors:405:5) │
│ at validateString (node:internal/validators:162:11) │
│ at Object.join (node:path:429:7) │
│ at D:\Backend\strapi\node_modules\@strapi\core\dist\loaders\components.js:17:31 │
│ at Array.forEach (
Hello, I've been trying to setup the plugin, and it keeps failinf when running
yarn develop
I'm using Yarn version 4.1.3, and have Node 16.14.0
Here is how I set up the configuration:
I also installed graphql, and tried to set the configuration before and after gql's configuration, but in vain.
I get the following error:
I don't really know what I should do, if I need to delete my content type or if the error is from somewhere else?
Thank you in advance