runejs / server

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build issue, rimraf not found

ATLowther opened this issue · comments

I can't get the project to build in docker:

sh: 1: rimraf: not found

If I remove the rimraf call and move the build script to just be "babel ./src --out-dir dist --extensions ".ts,.tsx,.js" --source-maps" then it gives a babel: not found error.

I'm not sure if the build isn't installing dev dependencies or if it isn't sure how to reference them or what.

I will look more into it later, I am posting it here in case somebody else runs into the issue or knows the solution.

@ATLowther can you please confirm that the environment variable NODE_ENV is not set to production?

If it is, npm won't install dev dependencies.