Script is not compiling
I am getting an error after installing CoffeeScript, Jade and Stylus.
ty@ty-ThinkPad-T60:~/btproof$ sudo ./build.sh Building to build/... mkdir: cannot create directory ‘build//lib’: File exists Building HTML with locals: { "order_server": "https://www.btproof.site/", "contact": "[email protected]" }
/usr/local/lib/node_modules/jade/lib/runtime.js:240 throw err; ^
Error: views/layout.jade:1
1| doctype 5 2| html 3| head 4| title: block title
doctype 5 is deprecated, you must now use doctype html
at Object.Lexer.doctype (/usr/local/lib/node_modules/jade/lib/lexer.js:256:13)
at Object.Lexer.next (/usr/local/lib/node_modules/jade/lib/lexer.js:916:15)
at Object.Lexer.lookahead (/usr/local/lib/node_modules/jade/lib/lexer.js:113:46)
at Parser.lookahead (/usr/local/lib/node_modules/jade/lib/parser.js:102:23)
at Parser.peek (/usr/local/lib/node_modules/jade/lib/parser.js:79:17)
at Parser.parse (/usr/local/lib/node_modules/jade/lib/parser.js:117:26)
at Parser.parse (/usr/local/lib/node_modules/jade/lib/parser.js:131:24)
at parse (/usr/local/lib/node_modules/jade/lib/index.js:104:21)
at Object.exports.compile (/usr/local/lib/node_modules/jade/lib/index.js:205:16)
at handleTemplateCache (/usr/local/lib/node_modules/jade/lib/index.js:174:25)
Building JavaScript...
./build.sh: line 31: uglifyjs: command not found
./build.sh: line 33: uglifyjs: command not found
./build.sh: line 37: uglifyjs: command not found
File not found: /home/ty/btproof/script/order.coffee
Building Stylus...
ty@ty-ThinkPad-T60:~/btproof$