We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See kaelzhang/penteract-ocr#11
When starting electron dev server via npm run start-dev you will get a stacktrace similar to this:
Module not found: Error: Can't resolve '../build/Release/penteract' in '/Users/steph.../electron-penteract/node_modules/penteract/src' @ ./node_modules/penteract/src/index.js 1:0-49 25:4-12 @ ./app/App.js @ ./app/main.js @ multi @babel/polyfill react-hot-loader/patch webpack-dev-server/client?http://localhost:3000 webpack/hot/only-dev-server ./app/main.js
I figured out that by changing the file electron-penteract/node_modules/penteract/src/index.js I can fix the error:
changing the line import bindings from '../build/Release/penteract' to import bindings from '../build/Release/penteract.node'
import bindings from '../build/Release/penteract'
import bindings from '../build/Release/penteract.node'
However: This seems to trigger another bug: #2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See kaelzhang/penteract-ocr#11
When starting electron dev server via npm run start-dev you will get a stacktrace similar to this:
I figured out that by changing the file electron-penteract/node_modules/penteract/src/index.js I can fix the error:
changing the line
import bindings from '../build/Release/penteract'
toimport bindings from '../build/Release/penteract.node'
However: This seems to trigger another bug: #2
The text was updated successfully, but these errors were encountered: