frankcollins3 / cAPPtcha

mine-nugget-ts (building captcha right now. want to make it an npm package)
1 stars 0 forks source link

next compatibility issue with node [12:56pm] #3

Closed frankcollins3 closed 11 months ago

frankcollins3 commented 11 months ago

attempting to do: create this package which will be a downloadable, reusable captcha that, when clicked, returns T|F allowing easy integration

error: npx create-next-app@13.0.3 {appname} --ts : kind of weird because the pages/api index.tsx structure is as it would be in 13.0.3.

Screen Shot 2023-08-08 at 12 55 00 PM

package.json() 13.4.13 page.tsx structure with layout.tsx within pages directory

class extends error, polyfill{} errors returned from terminal upon npm run dev

proposed approach: clear other app and start from there? while also clearing the name ?

frankcollins3 commented 11 months ago

Deps to change to fix clog: @types/react-dom @types/node @types/react

"dependencies": { "@types/node": "18.11.9", "@types/react": "18.0.25", "@types/react-dom": "18.0.8", "eslint": "8.46.0", "eslint-config-next": "13.4.13", "next": "13.0.3", "react": "18.2.0", "react-bootstrap": "^2.8.0", "react-dom": "18.2.0", "typescript": "5.1.6" } }

[1:03pm]