Open peyman-hakemi opened 3 years ago
توی فایل package-lock.json
دنبال اسم rmc-picker بگرد و ببین چه نسخه ایش رو نصب کردی؟
توی package-lock.json چیزی با این اسم ندیدم اصلا
در ضمن نمیدونم ربط داره یا نه ولی برای نصب من این شکلی عمل کردم
yarn add @persian-tools/persian-mobile-datepicker چون --save رو بزارم نصب نمیشه و این ارور رو میداد
error Missing list of packages to add to your project.
"react": "16.13.1",
"react-native": "0.63.2",
این هم ورژن هایی هست که استفاده میکنم
پیمان جان،
این کتابخونه مخصوص React Native نیستش متاسفانه و دارم روی نسخه React Native اش کار میکنم و توی یک ریپو دیگه ای منتشرش میکنم احتمالا.
سلام، توی نکست هم این مشکل هست
"rmc-picker": "^5.0.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"next": "^12.0.2",
"@persian-tools/persian-mobile-datepicker": "0.0.12",
erro:
./node_modules/rmc-picker/assets/index.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/@persian-tools/persian-mobile-datepicker/build/index.module.js
سلام، توی نکست هم این مشکل هست
"rmc-picker": "^5.0.10", "react": "^17.0.2", "react-dom": "^17.0.2", "next": "^12.0.2", "@persian-tools/persian-mobile-datepicker": "0.0.12",
erro:
./node_modules/rmc-picker/assets/index.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/@persian-tools/persian-mobile-datepicker/build/index.module.js
سلام مجتبی جان
ممنونم که گزارش کردی، دارم بررسیش میکنم
سلام، توی نکست هم این مشکل هست
"rmc-picker": "^5.0.10", "react": "^17.0.2", "react-dom": "^17.0.2", "next": "^12.0.2", "@persian-tools/persian-mobile-datepicker": "0.0.12",
erro:
./node_modules/rmc-picker/assets/index.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/@persian-tools/persian-mobile-datepicker/build/index.module.js
علی جان این مشکل برا نکست حل شد آیا؟ @ali-master
بررسی میکنم که مشکل از کتابخونه هستش یا تنظیمات nextjs البته متاسفانه فعلا وقتش رو ندارم. اگر کسی از دوستان میتونه وقت بذاره خیلی قدردانی میکنم.
هنوزم حل نشد؟=)))))
کتبخونه رو نصب کردم ولی وقتی میخوام اجرا کنم برنامه رو با این ارور مواجه میشم
error: Error: Unable to resolve module
rmc-picker/assets/index.css
fromnode_modules\@persian-tools\persian-mobile-datepicker\build\index.js
: rmc-picker/assets/index.css could not be found within the project.