Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Build issue, rimraf not found #363

Closed
ATLowther opened this issue Feb 12, 2022 · 1 comment
Closed

Build issue, rimraf not found #363

ATLowther opened this issue Feb 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ATLowther
Copy link

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 ATLowther added the bug Something isn't working label Feb 12, 2022
@Jameskmonger
Copy link
Collaborator

@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.

@SchauweM SchauweM closed this as completed Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants