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
- web
- graphQL
- typeScript
- CLASS
- Ethereum
- tailwindcss
- middleware
- API
- JavaScript
- built in object
- useState
- Props
- Redux
- concept
- HTML
- blockchain
- Interface
- hardhat
- evm
- error
- SSR
- solidity
- CSS
- nextJS
- 삶
- node.js
- REACT
- bitcoin
- 기준
- express.js
Archives
- Today
- Total
목록2023/11/06 (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