benoitc / benoitc/erica

bootstrap.bat fails on Windows

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
264
Forks
30
PR merge metrics
No merged PRs in 30d

Description

As per my [StackOverflow question](http://stackoverflow.com/q/18158523/363039), running bootstrap.bat on Windows 8 throws an error:

```
c:/Programming/couchapp/erica/src/erica.erl:none: redefining macro 'WITH_MOCHIJSON'
ERROR: compile failed while processing C:/Programming/couchapp/erica: rebar_abort
```

As per asvyazin's answer, it should really just be:

```
rebar get-deps
rebar compile
escript bootstrap
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting bootstrap.bat and compare its behavior with the commands listed in the issue: rebar get-deps, rebar compile, and escript bootstrap. Reproduce the failure on Windows if possible; done means bootstrap.bat follows that sequence without the redefining macro or rebar_abort error.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.