Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't build plugin from BetterDiscord to Powercord #7

Closed
pickaxe828 opened this issue Jul 30, 2021 · 1 comment
Closed

Can't build plugin from BetterDiscord to Powercord #7

pickaxe828 opened this issue Jul 30, 2021 · 1 comment

Comments

@pickaxe828
Copy link

The command I used:
node index.js --plugin="D:\the\plugin\I\wanna\build\from" --betterdiscord="D:\path\ittai\builder\temp\" --watch (I used this in ittai\builder and I am not sure am I right)

And the result:

┏━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                        ┃
┃  Ittai Plugin Builder  ┃
┃                        ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━┛
Plugin Folder:             D:\the\plugin\I\wanna\build\from
BetterDiscord Plugin File: D:\path\ittai\builder\temp\pluginname.plugin.js
Watching Files:            true
Build for Production:      false
Module not found: Error: Can't resolve 'D:\the\plugin\I\wanna\build\from' in 'D:\path\ittai\builder'
Build failed after 278,685ms.

Why this happens? I used pnpm to install ittai and the plugin works in betterdiscord without any error poping out (it's just a plugin printing hello world in the console log when it starts). Also I didn't used any module in that plugin since I just wanna try to familiarize myself to use this to build different version of plugins.

@AAGaming00
Copy link

ittai development continues here

@Kyza Kyza pinned this issue Feb 14, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants