جشنواره عیدانه راکت | عضویت ویژه راکت برای آخرین بار | افزایش قیمتها از سال جدید | و ...
مشاهده اطلاعات بیشتر...من یه برنامه دارم
فرانت با react
بک با laravel
داده ها رو نشون میده اما حذف یا ویرایش یا اضافه نمی کنه
این خطای هست که توی کنسول بود
app.js:6335 Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
printWarning @ app.js:6335
app.js:6335 Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
printWarning @ app.js:6335
app.js:166 Warning: Unknown DOM property class. Did you mean className?
in i (created by Master)
in a (created by Master)
in div (created by Master)
in div (created by Master)
in nav (created by Master)
in div (created by Master)
in Master (created by RouterContext)
in RouterContext (created by Router)
in Router
printWarning @ app.js:166
[Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ITw.woff2
:8000/display-item:1 Failed to load resource: the server responded with a status of 404 (Not Found)
localhost:8000/items:1 Failed to load resource: the server responded with a status of 419 (unknown status)
app.js:9035 Uncaught (in promise) Error: Request failed with status code 419
at createError (app.js:9035)
at settle (app.js:43670)
at XMLHttpRequest.handleLoad (app.js:8909)
createError @ app.js:9035
settle @ app.js:43670
handleLoad @ app.js:8909
localhost:8000/items:1 Failed to load resource: the server responded with a status of 419 (unknown status)
app.js:9035 Uncaught (in promise) Error: Request failed with status code 419
at createError (app.js:9035)
at settle (app.js:43670)
at XMLHttpRequest.handleLoad (app.js:8909)
createError @ app.js:9035
settle @ app.js:43670
handleLoad @ app.js:8909
@mdaalvand
من از برنامه زیر استفاده کردم که این خطا ها رو میده بهم
https://appdividend.com/2017/08/31/laravel-5-5-reactjs-tutorial/
همین پروژه رو از github کلون کردم جواب داد مشکلی نداشت اینم اسکرین شات:
http://s9.picofile.com/file/8339456150/Screenshot_from_2018_10_09_17_32_09.png
بله فقط همون کردم و فقط package-lock.json رو حذف کردم بعد npm i رو زدم که فک نکنم ربطی به این مشکل داشته باشه
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟