AliSeyfollahi / react-neshan-map-leaflet

2 stars 1 forks source link

خطا در نسخه npm #12

Open javadx opened 2 years ago

javadx commented 2 years ago

در package.json مقدار type : "module" ست شده برای همین نمیتونه ماژول پیدا کنه و خطا میده لطفا این خط رو حذف کنید

javadx commented 2 years ago

Module not found: Error: Can't resolve './loaders/neshan_map_loader' in '/var/www/attres/node_modules/react-neshan-map-leaflet/dist' Did you mean 'neshan_map_loader.js'? BREAKING CHANGE: The request './loaders/neshan_map_loader' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').

CaseoJKL commented 1 year ago

من هم همین مشکل رو دارم. لطفا پیگیری کنید. با تشکر.