Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'exiftool-vendored.pl' using exiftool with electron #47

Closed
EdenTurgeman opened this issue Apr 20, 2019 · 2 comments
Closed

Comments

@EdenTurgeman
Copy link

Building an app with electron and react and keep getting this issue when using exiftool-vendored.

I have read the previous post on the matter and tried to add exiftool-vendored.pl to my dependencies manually and this only generates the following error

Capture

Also base issue
image

My package.json
{ "name": "photo-op", "version": "0.1.0", "private": true, "dependencies": { "@babel/register": "^7.4.0", "@material-ui/core": "^3.9.3", "@material-ui/icons": "^3.0.2", "exiftool-vendored": "^8.8.0", "react": "^16.8.6", "react-dom": "^16.8.6", "react-redux": "^7.0.2", "react-router": "^5.0.0", "react-router-dom": "^5.0.0", "react-scripts": "2.1.8", "recursive-readdir": "^2.2.2", "redux": "^4.0.1", "styled-components": "^4.2.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "electron": "electron ./src/main.js" }, "eslintConfig": { "extends": "react-app" }, "browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" ], "devDependencies": { "electron": "^4.1.4" } }

@mceachen
Copy link
Member

mceachen commented Apr 20, 2019

See https://github.com/photostructure/exiftool-vendored.js/wiki/FAQ#how-do-you-make-this-work-with-electron, but the actual solution will be specific to your codebase.

If you think those instructions could be made better, I'd love suggestions or feedback!

Just sent you an email with more details, too.

@EdenTurgeman
Copy link
Author

Instructions were updated, thank you for the quick response and code behavior change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants