node-shp icon indicating copy to clipboard operation
node-shp copied to clipboard

electron-packager : module not found issue

Open arafasen opened this issue 6 years ago • 1 comments

Hi all, i'm using this lib in an angular 7 project. everything is ok except when building production with electron-pacakger in certain conditions. it throws error "Uncaught Exception: Error: Cannot find module 'shp'"

The nodule is installed and appear on package.json and also in node_modules directory.

when i omit flag --ignore=node_modules, everything works but oncei put it shp is not found.

are there solutions to solve this problem.

arafasen avatar Feb 22 '19 07:02 arafasen

Did you ever get this sorted?

yuletide avatar Jan 18 '23 08:01 yuletide