Closed mikebobroski closed 8 years ago
0.5.2 worked for gulp, but broke CLI 0.5.3 fixed CLI, but broke takana in gulp.
Unfortunately, this is due to the location difference of takana-client when takana is installed locally vs globally.
Local install paths: node_modules/takana/lib/server.coffee node_modules/takana-client
Global install paths: node_modules/takana/lib/server.coffee node_modules/takana/node_modules/takana-client
The following commit handles both cases, checking first for a local install.
0.5.2 worked for gulp, but broke CLI 0.5.3 fixed CLI, but broke takana in gulp.
Unfortunately, this is due to the location difference of takana-client when takana is installed locally vs globally.
Local install paths: node_modules/takana/lib/server.coffee node_modules/takana-client
Global install paths: node_modules/takana/lib/server.coffee node_modules/takana/node_modules/takana-client
The following commit handles both cases, checking first for a local install.