ERR_UNSUPPORTED_DIR_IMPORT from sapphire

i am getting an error like that when i start the bot
3 Replies
melih
melihOP3y ago
{
"name": "ameirosbot",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/builders": "^0.15.0",
"@discordjs/rest": "^0.5.0",
"discord-api-types": "^0.36.2",
"discord.js": "^13.8.1",
"dotenv": "^16.0.1"
}
}
{
"name": "ameirosbot",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/builders": "^0.15.0",
"@discordjs/rest": "^0.5.0",
"discord-api-types": "^0.36.2",
"discord.js": "^13.8.1",
"dotenv": "^16.0.1"
}
}
package.json file
Almeida
Almeida3y ago
its an issue with shapeshift https://github.com/discordjs/discord.js/pull/8242#issuecomment-1185113068 oh you're using v13 downgrading to builders 0.14.0 will probably revert that issue? otherwise you should wait for this to be merged and released
melih
melihOP3y ago
still same
Want results from more Discord servers?
Add your server