i want to install xxscreeps along with xxscreeps-client mod .
i tried using (node:20,node:16.3,node:16) docker images to build the package.
Every time facing errors while building or importing package.
Using node 16.13.2 & npm 8.1.2
Following script 1
git clone https://github.com/laverdet/xxscreeps.git
cd xxscreeps
npm install
npm run build
npx xxscreeps import
mkdir xxscreeps
cd xxscreeps
npm init -y
npm install github:laverdet/xxscreeps github:laverdet/xxscreeps-client
npm explore xxscreeps -- npm run build
npm explore @xxscreeps/client -- npm run build # Ignore these errors :)
# Save .screepsrc.yaml (see below)
npx xxscreeps import
npx xxscreeps start
Error at
->npm explore xxscreeps -- npm run build
npm explore xxscreeps -- npm run build
> xxscreeps@0.0.6 build
> tsc
src/engine/db/user/badge.ts:43:2 - error TS2740: Type '{ [x: string]: {}; }' is missing the following properties from type 'UserBadge': color1, color2, color3, flip, and 2 more.
43 return badge;
~~~~~~
Found 1 error in src/engine/db/user/badge.ts:43
npm ERR! code 2
npm ERR! path /home/meetarmana/xxscreeps/node_modules/xxscreeps
npm ERR! command failed
npm ERR! command sh -c npm run build
npm ERR! A complete log of this run can be found in:
npm ERR! /home/meetarmana/.npm/_logs/2023-06-27T17_07_57_848Z-debug.log
How can i run the Current version on local server.
i want to install xxscreeps along with xxscreeps-client mod . i tried using (node:20,node:16.3,node:16) docker images to build the package. Every time facing errors while building or importing package.
Using node 16.13.2 & npm 8.1.2
Following script 1
Error while building
following other script
Error at
How can i run the Current version on local server.