Node requires file extension for import statement

前端 未结 0 1785
深忆病人
深忆病人 2021-01-25 00:03

I\'ve been building a typescript app, in which I imported some constants from a file. VS Code\'s Auto-Import did the work for me, but when I compiled and ran the file, it threw

相关标签:
回答
  • 消灭零回复
提交回复
热议问题