“SyntaxError: Cannot use import statement outside a module” in a dependency

后端 未结 0 1361
Happy的楠姐
Happy的楠姐 2020-12-30 02:55

I\'m building a server with NodeJS, Typescript, Typeorm and ts-node.

The first line in one of my files I\'m importing:

import { build } from \'compassql/

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