Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn in chabokServiceWorker #2

Open
shahramRezvani opened this issue Nov 5, 2019 · 4 comments
Open

warn in chabokServiceWorker #2

shahramRezvani opened this issue Nov 5, 2019 · 4 comments
Labels
question Further information is requested

Comments

@shahramRezvani
Copy link

No description provided.

@shahramRezvani
Copy link
Author

Failed to compile
./src/ChabokSDKWorker.js
Line 2:1: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 2:112: 'define' is not defined no-undef
Line 2:123: 'define' is not defined no-undef
Line 2:235: Unexpected use of 'self' no-restricted-globals
Line 2:240: Unexpected use of 'self' no-restricted-globals
Line 2:770: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 2:770: Unexpected use of 'self' no-restricted-globals
Line 2:875: Unexpected use of 'self' no-restricted-globals
Line 2:959: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 2:1091: Unexpected use of 'self' no-restricted-globals
Line 2:1227: Unexpected use of 'self' no-restricted-globals
Line 2:1286: Unexpected use of 'self' no-restricted-globals
Line 2:1363: Unexpected use of 'self' no-restricted-globals
Line 2:1484: Unexpected use of 'self' no-restricted-globals
Line 2:1614: Unexpected use of 'self' no-restricted-globals
Line 2:1906: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 2:2049: Unexpected use of 'self' no-restricted-globals
Line 2:2210: Unexpected use of 'self' no-restricted-globals
Line 2:2235: Unexpected use of 'self' no-restricted-globals
Line 2:2316: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 2:2497: Unexpected use of 'self' no-restricted-globals
Line 2:2734: Expected an assignment or function call and instead saw an expression no-unused-expressions

Search for the keywords to learn more about each error.

@farbod-s
Copy link
Contributor

farbod-s commented Nov 5, 2019

سلام
از خطاها بنظر میاد راه‌اندازی بدرستی انجام نشده.
لطفا مراحل راه‌اندازی رو یک بار مرور کنید و همینطور پروژه نمونه رو هم نگاه کنید. اگر مشکل حل نشد بگید تا مراحل راه‌اندازی رو بررسی کنیم.
حتما از آخرین نسخه چابک استفاده کنید و اینکه اگر از تکنولوژی خاصی برای وب استفاده می‌کنید ذکر کنید تا بررسی کنیم چابک حتما سازگاری داشته باشه.
ممنون

@farbod-s farbod-s added invalid This doesn't seem right question Further information is requested and removed invalid This doesn't seem right labels Nov 5, 2019
@shahramRezvani
Copy link
Author

من طبق مستندات پیش رفتم و از ری اکت جی اس استفاده میکنم و در حال حاظر پوش به درستی راه اندازی شده و وقتی پوش ارسال میکنم در بخش بک اند وقتی کنسول لاگ میگیرم پیام نمایش داده میشه ولی وقتی سرویس ورکر رو اضافه میکنم خطا میگیرم

@shahramRezvani
Copy link
Author

وقتی از داخل پنل پیام ارسال میکنم داخل اپ به صورت کنسول لاگ دریافت میشه اما پوش دریافت نمیکنم

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants