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

Script crash in exporting config vars #2

Open
Ontokrat opened this issue Feb 14, 2018 · 0 comments
Open

Script crash in exporting config vars #2

Ontokrat opened this issue Feb 14, 2018 · 0 comments

Comments

@Ontokrat
Copy link

Hi,
I'm running a Meteor based application.
So, aside all other config vars - who are exported well - I have a config var called METEOR_SETTINGS, containing a bunch of vars in this format:

{
	"aaa": "xxx",
	"bbb": "yyy",
  	"ccc": {
		"cprime" : "xxxx",
		"csecond" : "yyy",
	},
	"public": {
	    "ddd": xxx,
	    "eee": yyyy,
	}
}

When it comes to those vars, the script is failing.
How to fix it? Or why not just looking in the script to vars who are effectively used: CF_AUTH_KEY, CF_EMAIL& CF_ZONE_ID?

Thanks

-----> Cloudflare purgeable cache buildpack... app detected
Exporting CF_AUTH_KEY
Exporting CF_EMAIL
Exporting CF_ZONE_ID
...
/app/tmp/buildpacks/dbad5bf76b26b6ad41469975f5f6c5a8144c5062c6162755e83dc78220a76364b429ca952dea13fcefef5858a70da1bda97341003c9ff4ce50d68d531066ad38/bin/compile: 54: /tmp/d20180214-70-1s9ghp7/env_exports: Kaddress:: not found
/app/tmp/buildpacks/dbad5bf76b26b6ad41469975f5f6c5a8144c5062c6162755e83dc78220a76364b429ca952dea13fcefef5858a70da1bda97341003c9ff4ce50d68d531066ad38/bin/compile: 55: /tmp/d20180214-70-1s9ghp7/env_exports: Syntax error: "}" unexpected
 !     Push rejected, failed to compile Cloudflare purgeable cache buildpack... app.
 !     Push failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant