manualpost
•
Apr 9
•
in Articles
• 4 min read
The error Syntaxerror: unexpected token 'export' will be encoutered when you try to use the export keyword in a version of nodejs that is prior to v14.13.0. To solve the problem, you have to either use the older method of exporting the method, and ...