Problem to build the panel #3074
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For easier reference: The two known errors this fixes is |
Beta Was this translation helpful? Give feedback.
-
He wanted to install an Addon. Addons are not suported atm. so ask Addon Author |
Beta Was this translation helpful? Give feedback.
https://discord.com/channels/122900397965705216/658550982975946762/804499734919774268
For easier reference:
If you are having errors when running
yarn build:production
(command is used to rebuild the Panel's UI after making changes) and are onv1.2.2
or lower, you are probably missing the.babel-plugin-macrosrc.js
file which is not included when installing the panel by following the documentation. In order to fix those errors you will need to download the file, you can do this by runningwget https://raw.githubusercontent.com/pterodactyl/panel/v1.2.2/.babel-plugin-macrosrc.js
.The two known errors this fixes is
Module not found: Error: Can't resolve '@emotion/react'
andError: .only must…