You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon installing node-native-ocr with npm install node-native-ocr, I was faced with the following error:
Error: Cannot find module 'shelljs'
This prevents node-native-ocr from properly installing and being added to package.json. The error is caused by the dependency shelljs here: build-tesseract.js#L3.
It seems as though the install script is attempting to use this dependency before installing the shelljs dependency. You can temporarily resolve this issue by manually installing shelljs as a devDependency with npm install --save-dev shelljs.
The text was updated successfully, but these errors were encountered:
ryanbarr
changed the title
shelljs
shelljs dependency not installed prior to install script execution
Jul 20, 2022
Upon installing
node-native-ocr
withnpm install node-native-ocr
, I was faced with the following error:This prevents
node-native-ocr
from properly installing and being added topackage.json
. The error is caused by the dependencyshelljs
here: build-tesseract.js#L3.It seems as though the
install
script is attempting to use this dependency before installing theshelljs
dependency. You can temporarily resolve this issue by manually installingshelljs
as adevDependency
withnpm install --save-dev shelljs
.The text was updated successfully, but these errors were encountered: