BlueprintB
Blueprint4mo ago
3 replies
kdawg

Error when running update

./resources/scripts/blueprint/extends/routers/ServerRouter.tsx 6.29 KiB [built]
| ./resources/scripts/plugins/Websocket.ts 2.46 KiB [built]
| ./resources/scripts/api/server/getWebsocketToken.ts 354 bytes [built]
| + 6 hidden modules
+ 401 hidden modules

ERROR in resources/scripts/routers/ServerElements.tsx:19:78
TS2339: Property 'nestId' does not exist on type 'Server'.
17 | const match = useRouteMatch<{ id: string }>();
18 |
19 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
| ^^^^^^
20 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
21 |
22 | const to = (value: string, url = false) => {

ERROR in resources/scripts/routers/ServerElements.tsx:20:77
TS2339: Property 'eggId' does not exist on type 'Server'.
18 |
19 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
20 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
| ^^^^^
21 |
22 | const to = (value: string, url = false) => {
23 | return ${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')};

ERROR in resources/scripts/routers/ServerElements.tsx:63:84
TS2339: Property 'nestId' does not exist on type 'Server'.
61 | const location = useLocation();
62 |
63 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
| ^^^^^^
64 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
65 |
66 | const to = (value: string, url = false) => {

ERROR in resources/scripts/routers/ServerElements.tsx:64:83
TS2339: Property 'eggId' does not exist on type 'Server'.
62 |
63 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
64 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
| ^^^^^
65 |
66 | const to = (value: string, url = false) => {
67 | return ${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')};
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
23:38:29 INFO: Put application into production.



I am getting this error when I ran the update command. Now when I go onto my panel its just a white screen
Solution
You can't combine blueprint and non blueprint addons
Was this page helpful?