문제

After migrating to new mac book computer iced coffee script starts work incorrectly.

When I run script ...

iced script.iced

... I got error ...

ReferenceError: autocb is not defined

... on the row:

exports.method = (arg1, arg2, autocb)=>

On old mac it works good. Iced coffee script versions are the same on both machines. On both machines I can call iced in terminal:

iced
iced> a = 3
3
도움이 되었습니까?

해결책

The problem was in iced-coffee-script version. On old machine it was 1.6.3-f

 iced --version                                                                                                                                                                                          ⏎
IcedCoffeeScript version 1.6.3-f

On new - 1.6.3-i. I installed 1.6.3-f and all starts work well on new machine.

npm i iced-coffee-script@1.6.3-f -g
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top