var Jimp = require('jimp'); to load the requested modules.
Checked the node_modules folder and it only has the browser and fonts folders.
Dist folder seems to be missing.
No errors when running npm install.
Using in node env not browser.
Error: Cannot find module 'jimp'
npm i --save jimp
var Jimp = require('jimp');
Screenshots
https://i.ibb.co/dbr79sM/Screenshot-042819-031817-AM.jpg
https://i.ibb.co/wsyfVXs/Screenshot-042819-031913-AM.jpg
Same here....
I think the dist/ folder wasn't published.
When I tried installing with Node 12 the message was:
Cannot find module '/Users/danielgraham/appium/node_modules/jimp/dist/index.js'. Please verify that the package.json has a valid "main" entry
dist/ wasn't there only browser/.
I'd recommend unpubishing 0.6.2 and then republishing 0.6.3 as the latest once the problem has been figured out.
@dex-labs @dpgraham how does 0.6.3 look?
Now I am receiving:
Error: Cannot find module '@jimp/types'
Okay I synced all the package versions and changed lerna to force publish all of them. 0.6.4 should work 馃檹
0.6.3 worked for me
0.6.4 worked for me. The 0.6.3 publish was giving "Error: Cannot find module '@jimp/types'" for me.
sweet. sorry for the fuss!
Everything's good now! Thanks for the quick response.
All is good in the world once again
Most helpful comment
All is good in the world once again