Open sshanmu91 opened 7 months ago
@icheered @RReverser
Hope you 're doing good! Could you please help on Resolving this NPM Build Error!
@icheered @RReverser
In package.json, "exports" Field has to be corrected up in the following manner.
"exports": { ".": { "types": "./build/camera.d.ts", "node": "./build/camera.js", "require": "./build/camera.js", "import": "./build/camera.js", "default": "./build/camera.js" } }
camera-controller.ts
On "ng-build", Getting the Following Error in the File where Camera has been imported from "web-gphoto2"
node_modules/web-gphoto2/package.json
Node JS - v14.18.2
package.json
"@types/emscripten": "^1.39.10" "typescript": "~4.6.4" "web-gphoto2": "^0.4.1"
tsconfig.json
Please do help on how to resolve this issue!