Hi people, I am developing a custom serveless app and I am getting an error when I try to launch the command “fdk pack” or “fdk version” in cmd.
I will explain the step by step that I did to get the error. After running the command “fdk pack” the fdk asked to be updated I accepted the update and after that my CMD crashed during the update and I closed it, after closing the cmd I opened it again and got the following error after trying to run any of the above commands:
Can you please try using Node 14 and try installing fdk using ‘npm’? Please make sure that the npm version that you are using is compatible with that of the running node’s version.
I tried debugging the installation. We tried removing ~/.fdk/, uninstalling FDK, and reinstalling again. The installation went through but looks like something is wrong with the OS and/or the Node.js installation. They have already reinstalled Node.js twice. On this reinstall, FDK stopped producing any messages at all. Looks very much like Node.js sysout is broken.
After trying pretty much everything, we decided reinstalling the OS might be a good idea, because something is broken, and it is very unlikely to be an issue with FDK.
OS: Windows
Terminal: cmd.exe
Node.js major version: v14