Error - Following tutorial and BONKERS

PS C:\Users\Torren\Desktop\JS-Bot-Apeture> node deploy-commands.js C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:47 throw this.error; ^ ExpectedConstraintError: Invalid string format at Object.run (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:1592:64) at C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:212:66 at Array.reduce (<anonymous>) at StringValidator.parse (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:212:29) at validateName (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@discordjs\builders\dist\index.js:1402:17) at MixedClass.setName (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@discordjs\builders\dist\index.js:1499:5) at Object.<anonymous> (C:\Users\Torren\Desktop\JS-Bot-Apeture\commands\Utility\server.js:6:10) at Module._compile (node:internal/modules/cjs/loader:1275:14) at Module.extensions..js (node:internal/modules/cjs/loader:1329:10) at Module.load (node:internal/modules/cjs/loader:1133:32) { constraint: 's.string.regex', given: 'Server', expected: 'expected /^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}-]+$/u.test(expected) to be true'
2 Replies
d.js toolkit
d.js toolkit•16mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Rednarök
Rednarök•16mo ago
So, "Server" Should be "server? I should've seen that. thank you.
Want results from more Discord servers?
Add your server