coffee script进入REPL报错问题记录
来源:互联网 发布:来疯直播软件 编辑:程序博客网 时间:2024/05/22 20:45
coffee script进入REPL(Read-Eval-Print-Loop)报错如下
coffee> /usr/local/lib/node_modules/coffee-script/lib/coffee-script/repl.js:48
initialPrompt: repl.prompt.replace(/^[^> ]*/, function(x) {
^
TypeError: undefined is not a function
at addMultilineHandler (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/repl.js:48:34)
at Object.module.exports.start (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/repl.js:155:7)
at Object.exports.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:79:32)
at Object. (/usr/local/lib/node_modules/coffee-script/bin/coffee:7:41)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Function.Module.runMain (module.js:490:10)
at startup (node.js:124:16)
at node.js:807:3
参照https://github.com/ehuss/coffee-script/commit/03705c674fe34b9498ede5a59de8bcc0679825f1所示的js代码修改/usr/local/lib/node_modules/coffee-script/lib/coffee-script/repl.js
错误原因出在nodejs版本1.x之后的版本会报错,如果不是1.x版本的node,参照如上链接的js文件修改
- coffee script进入REPL报错问题记录
- coffee-script
- coffee-script运行环境
- how to use coffee-script
- coffee-script之面向对象初体验
- 进入房间报错。
- SSH整合问题。报错。记录下
- Spark编译报错问题日志记录
- C#异常报错-问题记录
- React开发问题记录--returncode报错
- 问题记录--studio run 报错:INSTALL_FAILED_INTERNAL_ERROR
- REPL
- REPL
- REPL
- Clojure REPL中的问题总结
- Coffee script 学习笔记I --函数及变量作用域
- Coffee Script的windows环境下的初步安装使用
- Eclipse报错无法进入
- https://github.com/Trinea/android-open-project
- 黑马程序员_Java基础_装饰设计模式
- ORA-28009:connection as SYS should be as SYSDBA OR SYSOPER
- python6
- c++ 虚函数表解析
- coffee script进入REPL报错问题记录
- 关于c语言中宏定义的总结
- Hex工作室资源导航
- Linux下git基本使用总结<3>
- poj2513
- Linux编程实践----共享内存的演示(IPC)
- 用户管理与权限分配 5.20
- 国内众筹
- 光流法简单介绍