-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Open
Description
Hi,
When executing this first command in the Learn IDE:
learn test
This error came up:
/home/melwyn-122593/code/labs/javascript-intro-to-functions-lab-bootcamp-prep-000/node_modules/hoek/lib/index.js:148
exports.applyToDefaults = function (defaults, options, isNullOverride) row[3] + ' (' + row[0] + ':' + row[1] + ':' + r
ow[2] + ')');
^^^
SyntaxError: Unexpected identifier
To get rid of this issue, I modified line 148 of file "./node_modules/hoek/lib/index.js:148".
Open the file with vi:
vi ./node_modules/hoek/lib/index.js
I replaced this part:
exports.applyToDefaults = function (defaults, options, isNullOverride) row[3] ++
' (' + row[0] + ':' + row[1] + ':' + row[2] + ')');
}
return display;
};
With this:
exports.applyToDefaults = function (defaults, options, isNullOverride) {
var display = row[3] + ' (' + row[0] + ':' + row[1] + ':' + row[2] + ')';
return display;
};
I hope that will help someone with the same issue.
Cheers
Metadata
Metadata
Assignees
Labels
No labels