Skip to content

Commit 154bfc9

Browse files
authored
Merge pull request #323 from chughts/pa-fix
Path fix for node_modules
2 parents b5ee76a + f2f79f5 commit 154bfc9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Node-RED Watson Nodes for IBM Bluemix
77

88
<a href="https://cla-assistant.io/watson-developer-cloud/node-red-node-watson"><img src="https://cla-assistant.io/readme/badge/watson-developer-cloud/node-red-node-watson" alt="CLA assistant" /></a>
99

10+
### New in version 0.5.13
11+
- Personality Insights on Bluemix needed new path to node_modules
12+
1013
### New in version 0.5.12
1114
- Fix to Personality Insights Node when running in Japanese mode.
1215
- Bump Interface version to Discovery service to '2017-08-01'.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-watson",
3-
"version": "0.5.12",
3+
"version": "0.5.13",
44
"description": "A collection of Node-RED nodes for IBM Watson services",
55
"dependencies": {
66
"alchemy-api": "^1.3.0",

utilities/payload-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ PayloadUtils.prototype = {
120120
// default
121121
return cb(txt.split(' ').length);
122122
},
123-
dic_path = '/../node_modules/kuromoji/dict',
123+
dic_path = '/../../kuromoji/dict',
124124
dic_dir = path.normalize(__dirname + dic_path),
125125
tokenizer = null;
126126

0 commit comments

Comments
 (0)