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
As the title says, it gives an error when import the library like this import mergeImg from "merge-img";
The error is: index.js?6969:22 Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined at Object.eval (index.js?6969:22) at eval (index.js:2337) at Object../node_modules/jimp/index.js (chunk-vendors.js:4028) at __webpack_require__ (app.js:849) at fn (app.js:151) at eval (index.js?cafb:15) at Object../node_modules/merge-img/lib/index.js (chunk-vendors.js:4208) at __webpack_require__ (app.js:849) at fn (app.js:151) at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js&:8)
The text was updated successfully, but these errors were encountered:
I tried that in a Vue SFC and it's still gives this error. But when i try to use it in node it works as expected. Is it because of Webpack? Do you have any idea? @talkl
Same error here, when i do either import mergeImg from "merge-img" or import * as mergeImg from "merge-img". currently using Vue JS with Quasar Framework.
TypeError: Cannot read property 'hasOwnProperty' of undefined at Object.eval (index.js?6668:22) at eval (index.js:2337) at Object../node_modules/merge-img/node_modules/jimp/index.js (vendor.js:5961) at __webpack_require__ (app.js:854) at fn (app.js:151) at eval (index.js?276b:15) at Object../node_modules/merge-img/lib/index.js (vendor.js:5881) at __webpack_require__ (app.js:854) at fn (app.js:151) at eval (index.js?!./node_modules/@quasar/app/lib/webpack/loader.auto-import-client.js?kebab!./node_modules/vue-loader/lib/index.js?!./src/pages/prophecy/details.vue?vue&type=script&lang=js&:13)
As the title says, it gives an error when import the library like this
import mergeImg from "merge-img";
The error is:
index.js?6969:22 Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined at Object.eval (index.js?6969:22) at eval (index.js:2337) at Object../node_modules/jimp/index.js (chunk-vendors.js:4028) at __webpack_require__ (app.js:849) at fn (app.js:151) at eval (index.js?cafb:15) at Object../node_modules/merge-img/lib/index.js (chunk-vendors.js:4208) at __webpack_require__ (app.js:849) at fn (app.js:151) at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js&:8)
The text was updated successfully, but these errors were encountered: