0

I am trying to build the code given as TODO example in spine framework. I have installed coffescript using npm, and cake builder is included to it.

When I navigate to Cakefile dir, and execute cake build I get the following error:

src/local.coffee:1:1: error: the variable "Spine" can't be assigned with ?= because it has not been declared before Spine ?= require('spine') ^^^^^

The cake file im trying to run is the default coming with the example, and is in the same dir as the git copy https://github.com/maccman/spine.todos .

I did search online but could not find reports of this issue, or how I can solve it. This error has appeared on other cases (https://github.com/maccman/spine.contacts/pull/14) but solution cannot be applied to TODO example.

asked May 25, 2013 at 18:11

1 Answer 1

0

This example was written with an older version of coffeescript.
The behaviour of ?= has changed since then. See this issue for more details.

Commenting out this line (the first one in src/local.coffee) seems to get it working again.

answered May 25, 2013 at 20:59
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.