You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cannot be resolved when parameter.type is undefined. I resolved it with an "if (!parameter.type) return false;", but I'm asuming something went wrong earlier.
Output + Error + Stacktrace:
> ngx-translate-extract -i ./src/app/ -o ./src/i18n/en.json --clean --sort --format namespaced-json
Extracting strings...
- src/app/api.service.ts
**\node_modules\@biesbjerg\ngx-translate-extract\dist\parsers\service.parser.js:51
var parameterType = parameter.type.typeName;
TypeError: Cannot read property 'typeName' of undefined
at **\node_modules\@biesbjerg\ngx-translate-extract\dist\parsers\service.parser.js:51:47
at Array.find (native)
at ServiceParser._getInstancePropertyName (**\node_modules\@biesbjerg\ngx-translate-extract\dist\parsers\service.parser.js:47:49)
at ServiceParser.extract (**\node_modules\@biesbjerg\ngx-translate-extract\dist\parsers\service.parser.js:28:43)
at **\frontend\node_modules\@biesbjerg\ngx-translate-extract\dist\cli\tasks\extract.task.js:50:58
at Array.forEach (native)
at **\node_modules\@biesbjerg\ngx-translate-extract\dist\cli\tasks\extract.task.js:49:32
at Array.forEach (native)
at **\frontend\node_modules\@biesbjerg\ngx-translate-extract\dist\cli\tasks\extract.task.js:46:58
at Array.forEach (native)`
var parameterType = parameter.type.typeName;
This cannot be resolved when parameter.type is undefined. I resolved it with an "if (!parameter.type) return false;", but I'm asuming something went wrong earlier.
Output + Error + Stacktrace:
Before the crash parameter contained this:
Here is a link to the file it was trying to parse:
http://karellodewijk.github.io/other/api.service.ts
The text was updated successfully, but these errors were encountered: