react-html5-camera-photo icon indicating copy to clipboard operation
react-html5-camera-photo copied to clipboard

index.js fails on Object is not a function with react 18.2, react-html5-camera-photo 1.5.3

Open fatherabraham-hms opened this issue 11 months ago • 0 comments

running next dev yeilds when using with vercel dashboard template: https://vercel.com/templates/next.js/admin-dashboard-tailwind-postgres-react-nextjs

⨯ node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-html5-camera-photo/build/index.js (1:11901) @ n ⨯ TypeError: Object(...) is not a function at stringify () null ⨯ node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-html5-camera-photo/build/index.js (1:11901) @ n ⨯ TypeError: Object(...) is not a function at stringify ()

"dependencies": { "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", "@tremor/react": "^3.10.0", "@types/js-cookie": "^3.0.5", "@types/node": "20.8.9", "@types/react": "18.2.33", "@types/react-dom": "18.2.14", "@types/react-html5-camera-photo": "^1.5.3", "@vercel/analytics": "^1.1.1", "@vercel/postgres": "^0.5.1", "autoprefixer": "^10.4.16", "eslint": "8.52.0", "eslint-config-next": "14.0.0", "js-cookie": "^3.0.5", "next": "14.0.0", "next-auth": "5.0.0-beta.3", "postcss": "^8.4.31", "prettier": "^3.0.3", "prop-types": "^15.8.1", "react": "18.2.0", "react-dom": "18.2.0", "react-html5-camera-photo": "^1.5.11", "server-only": "^0.0.1", "tailwindcss": "^3.3.5", "typescript": "5.2.2" },

fatherabraham-hms avatar Mar 26 '24 12:03 fatherabraham-hms