10 Replies
How exactly did you install things? Because @sapphire/shapeshift is compiled on NPM, but it looks like it's not in your instance. https://unpkg.com/browse/@sapphire/[email protected]/
UNPKG - @sapphire/shapeshift
The CDN for @sapphire/shapeshift
i only installed discord.js which has sapphire as its dependecny
I see.. it shouldn't happen. Did you try uninstalling and reinstalling it?
yes. uninstalled whole node_modules and reinstalled
btw
im using pnpm
I can see that, yes, but it still doesn't really make sense because the
src
directory is not published to NPM. I'll ping @kyra and @Favna, they usually know the solution for dependencies going wrongNo idea what pnpm did for you there but try setting https://pnpm.io/npmrc#public-hoist-pattern to
"@sapphire/*"
.npmrc | pnpm
pnpm gets its configuration from the command line, environment variables, and
Coz src shouldn't be in node_modules ever. That implies it downloaded from GH instead of a CDN like npm https://cdn.jsdelivr.net/npm/@sapphire/[email protected]/
@sapphire/shapeshift CDN by jsDelivr - A free, fast, and reliable O...
@sapphire/shapeshift CDN by jsDelivr - A free, fast, and reliable Open Source CDN for npm and GitHub
And DJS doesn't depend on the GH repo either
Your package manager definitely did something weird
i believe so
yes it was pkg manager err
tysm