Having problem in fdk installation

I installed the node & fdk successfully. But While I try to use fdk like fdk version or fdk create, I got the following error.
“/usr/local/lib/node_modules/fdk/lib/configs.js:55
static INVALID_KEY = Symbol.for(‘invalid_key’);
SyntaxError: Unexpected token =”

Kindly help us to fix the issue.

Hello Shanthini,

Could you tell us which node version you are using? This problem may be because you’re using an older node version. Can you upgrade to node 14 and check again?

Thank you for your quick response.
Yes, I installed now node 14th version.
But I got new issue like this.
“Error: Please install sqlite3 package manually
at ConnectionManager._loadDialectModule (/usr/local/lib/node_modules/fdk/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:55:15)”

Also, I installed sqlite3 package.

Could you share which OS you’re currently using? And also confirm if you’ve installed sqlite3 using the same node version?

OS: Mac Monterey 12.2.1
Yes, We installed sqlite3 in the same version of node 14

Thank you for your response and suggestions.
It is working now, after setting the nvm path.

Thanks again

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.