tpabarbosa / react-dos-terminal

A collection of React Components to mock a DOS command line interface. Create your own commands and files, customize it to best fit your needs.
1 stars 0 forks source link

Error when using react 18+ #1

Open ereid7 opened 1 year ago

ereid7 commented 1 year ago
error - TypeError: et.addHook is not a function
    at Object.<anonymous> (/Users/smartersorting/Desktop/APPS/nextjs-ethereum-starter/frontend/node_modules/react-dos-terminal/dist/cjs/index.js:4:27469)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Module._load (node:internal/modules/cjs/loader:827:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
}
tpabarbosa commented 1 year ago

I didn't update it to react +18. It is working on 17.