Build fails with JSON.parse error

RESOLVED INVALID

Status

Firefox OS
Gaia
RESOLVED INVALID
4 years ago
4 years ago

People

(Reporter: Andy McKay, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
[master] gaia $ g pull
Updating 16c39ab..a4a0cdf
Fast-forward
 apps/settings/elements/developer_hud.html       |   6 ++++
 apps/settings/locales/settings.en-US.properties |   4 +--
 apps/system/js/devtools/developer_hud.js        |  86 ++++++++++++++++++++++++++++++++++++++++++-------
 apps/system/style/devtools/developer_hud.css    |  14 ++++----
 apps/system/style/zindex.css                    |   6 +++-
 apps/system/test/unit/developer_hud_test.js     | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 build/config/common-settings.json               |   1 +
 7 files changed, 213 insertions(+), 31 deletions(-)
[master] gaia $ gd
[master] gaia $ gt
# On branch master
nothing to commit, working directory clean
[master] gaia $ make
Exception: SyntaxError: JSON.parse: unexpected character at line 1 column 215 of the JSON data
CommonjsRunner.prototype.run@/Users/andy/sandboxes/gaia/build/xpcshell-commonjs.js:56:1
run@/Users/andy/sandboxes/gaia/build/xpcshell-commonjs.js:84:3
@-e:1:1

make: *** [preferences] Error 3

Can't currently build gaia to test payment changes.
(Reporter)

Comment 1

4 years ago
passed with: DEBUG=1 make profile
(Reporter)

Comment 2

4 years ago
I had an environment variable DEBUG=True for another project. The make file takes the environment variables, turns them into JSON and assumes its parseable, in this case it not.

Thanks jrburke for the help.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.