Git Product home page Git Product logo

Comments (3)

gradus avatar gradus commented on August 12, 2024

cool. thanks.
I will fix.

On Jun 13, 2012, at 2:13 PM, NN wrote:

cake build >>
/usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:51
throw err;
^
SyntaxError: In Cakefile, octal escape sequences '\033[0;1m' are not allowed on line 14
at SyntaxError (unknown source)
at Lexer.error (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/lexer.js:682:13)
at Lexer.stringToken (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/lexer.js:170:14)
at Lexer.tokenize (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/lexer.js:33:137)
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:43:32
at Object.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:79:34)
at Object.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:51:18)
at Object. (/usr/local/lib/node_modules/coffee-script/bin/cake:7:38)
at Module._compile (module.js:446:26)
at Object..js (module.js:464:10)

so i commented out the colors in Cakefile

ANSI Terminal Colors

bold = '' # '\033[0;1m'
green = '' # '\033[0;32m'
reset = '' # '\033[0m'
red = '' # '\033[0;31m'

and it runs normally.


Reply to this email directly or view it on GitHub:
#1

from black-coffee.

twilson63 avatar twilson63 commented on August 12, 2024

I fixed this with the Cakefile template, coffee-script 1.3.x requires you to either escape those out or use the literal format - see jashkenas/coffeescript#2021. It was easier for me to escape them and it worked fine

bold = `'\033[0;1m'`
green = `'\033[0;32m'`
reset = `'\033[0m'`
red = `'\033[0;31m'`

from black-coffee.

gradus avatar gradus commented on August 12, 2024

Thanks @twilson63
Fixed.

from black-coffee.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.