generator-aspnetcore-spa have problems with ng2-translate #1002

Closed
opened 2025-08-09 17:18:30 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @el7lme on 2/19/2017

when using ng2-translate in a project created using generator-aspnetcore-spa, gave me errors after searching i found that ng2-translate using [Http] and in the template we using [universal module] which is have http.

following is the error
An unhandled exception occurred while processing the request.

Exception: Call to Node module failed with error: Error: Uncaught (in promise): Error: This method is not implemented in Parse5DomAdapter: getCookie
Error: This method is not implemented in Parse5DomAdapter: getCookie
at new Error (native)
at _notImplemented (c:\Users\hamed\Documents\Visual Studio 2015\Projects\testTemplate2\ClientApp\dist\vendor.js:90933:12) [angular]
at Parse5DomAdapter.module.exports.Parse5DomAdapter.getCookie (c:\Users\hamed\Documents\Visual Studio 2015\Projects\testTemplate2\ClientApp\dist\vendor.js:91528:69) [angular]

is there any solution for that.

*Originally created by @el7lme on 2/19/2017* when using ng2-translate in a project created using generator-aspnetcore-spa, gave me errors after searching i found that ng2-translate using [Http] and in the template we using [universal module] which is have http. following is the error An unhandled exception occurred while processing the request. Exception: Call to Node module failed with error: Error: Uncaught (in promise): Error: This method is not implemented in Parse5DomAdapter: getCookie Error: This method is not implemented in Parse5DomAdapter: getCookie at new Error (native) at _notImplemented (c:\Users\hamed\Documents\Visual Studio 2015\Projects\testTemplate2\ClientApp\dist\vendor.js:90933:12) [angular] at Parse5DomAdapter.module.exports.Parse5DomAdapter.getCookie (c:\Users\hamed\Documents\Visual Studio 2015\Projects\testTemplate2\ClientApp\dist\vendor.js:91528:69) [angular] is there any solution for that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1002
No description provided.