250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- SSR
- concept
- graphQL
- express.js
- typeScript
- Redux
- useState
- REACT
- built in object
- middleware
- error
- evm
- hardhat
- blockchain
- 삶
- node.js
- nextJS
- JavaScript
- HTML
- web
- 기준
- tailwindcss
- Interface
- Props
- CSS
- Ethereum
- solidity
- CLASS
- API
- bitcoin
Archives
- Today
- Total
목록ts-node (1)
ReasonJun
Nextjs : Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (ts-node)
What happened? In the case of ts-node, ts was compiled using the commonJS method. Therefore, an error occurs when you try to run a ts file with ts-node in the app or src subfolder of nextjs, which is compiled with esNext. Error : https://github.com/TypeStrong/ts-node/issues/935 `ts-node` fails when ES Modules are in the dependency graph in Node.js 13+ · Issue #935 · TypeStrong/ts-node I basicall..
Frontend/Next.js
2023. 11. 6. 13:50