Serverless offline reload not working version 12 - serverless

Found some solutions where it was mentioned that by adding --reloadHandler it should work however i am getting below message when tried the command :
serverless offline start --reloadHandler
Running "serverless" from node_modules
Initializing provider configuration...
Environment: darwin, node 16.19.0, framework 3.26.0 (local) 3.7.3v (global), plugin 6.2.2, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Detected unrecognized CLI options: "--reloadHandler".

Related

base64: command not found - error when Cocoapods is installing BoringSSL-GRPC

I am building a Unity app for iOS. I am using iOS Project Builder, which allows building iOS apps on Windows. It uses Cocoapods to install Frameworks.
I have this error when Cocoapods is installing BoringSSL-GRPC:
/usr/local/bin/bash: line 68: base64: command not found
gunzip: (stdin): unexpected end of file
Full log: https://pastebin.com/gZm2RUy1
OS: Windows 10 64 bit
Unity Version: 2020.3.12f1
iOS Builder: 3.35.4
iOS SDK: 14.5
Firebase: 9.0.0
Any help would be highly appreciated.
UPDATE 1
Not sure if bash is working. I have enabled it, but when I write it in cmd, it is displayed:
C:\Users\IRAKLI>bash
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
UPDATE 2
Installed Ubuntu from Windows Store. Bash is working now from CMD, but I still have the same error with cocoapods.
Might it be the problem?
irakliunix#DESKTOP-U1MFKFF:/mnt/c/Users/IRAKLI$ /usr/local/bin/bash
-bash: /usr/local/bin/bash: No such file or directory

Failing to build an iOS app built using Cordova / Ionic using Azure DevOps

Trying to build an iOS app built using Ionic / Cordova on Azure DevOps
Getting this error:
Using cordova-fetch for cordova-ios#^5.0.0
Failed to fetch platform cordova-ios#^5.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: Cannot find module 'UNMET/package.json' from '/Users/vsts/agent/2.148.2/work/1/s'
[ERROR] An error occurred while running subprocess cordova.
I am using a simple setup using the following steps:
Agent: Hosted macOs
npm install
Ionic Command [ionic version: 4.12.0; Cordova Version: default]
Publish Build Artifacts
We had the same problem, and the solution was to make sure all NPM dependencies were met.
Check the logs for the npm install step and see if there are any unmet dependencies there and add/update missing depedencies in your package.json file.

Google Assistant on Raspberry pi Segmentation fault

Installing Google assistant on my pi with this guide: https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample
(env) pi#raspberrypi:~ $ source env/bin/activate
(env) pi#raspberrypi:~ $ googlesamples-assistant-hotword --project_id 'celius-54926' --device_model_id 'celius-54926-celius-qyn1r6'
device_model_id: celius-54926-celius-qyn1r6
device_id: A1CE24415E5C880BCA74644CD6315DC2
Segmentation fault
I had the same issue.
I carried on reading the page : https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample under the heading "Find the device instance ID" it seems my device was not registered.
So I manually registered the device from the pi with the help page here:
https://developers.google.com/assistant/sdk/reference/device-registration/device-tool#register-device.
(env) pi#raspberrypi:~ $ googlesamples-assistant-devicetool --project-id YOUR_DEVICE_ID register-device --device 4D609xxxxxxxxxxxxxxxxxxx --model YOUR_MODEL_ID --client-type SERVICE
Creating new device
Error: Failed to register device: 403
Google Assistant API has not been used in project 5739xxxxxxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview?project=5739xxxxxxxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
So I followed the link and enabled the API under my google account, and retried.
(env) pi#raspberrypi:~ $ googlesamples-assistant-devicetool --project-id YOUR-PROJECT-ID register-device --device 4D60xxxxxxxxxxxxxxx --model YOUR_MODEL_ID --client-type SERVICE
Creating new device
Device instance 4D60xxxxxxxxx successfully registered
Now it works ok.
I was facing the same issue. After a lot of research, I found that there was a new version of google-assistant-library
Once I upgraded the same to v1.0.1 from 1.0.0, the issue was resolved.
Open your env and run
python -m pip install --upgrade google-assistant-library==1.0.1
Let me know if any issues.
I face same problem for Ubuntu assistant setup, I found my google assistant api was not enabled. I enable it from api console and it started working.
I was facing the same issue in RPi4.
Finally the problem was fixed by newer version of the google-assistant library, 1.1.0 instead of 1.0.1 version:
python -m pip install --upgrade google-assistant-library==1.1.0

docker fails with on MacOs Sierra with 'MSpanList_Insert 0x8f1000 0x81d2db0339 0x0'

While running
docker -v
on MacOs Sierra 10.13.3 following error is printed and docker exists
failed MSpanList_Insert 0x8f1000 0x81d2db0339 0x0
fatal error: MSpanList_Insert
runtime stack:
runtime.throw(0x80d7ab)
/usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7ffeefbfef10 sp=0x7ffeefbfeee0
runtime.MSpanList_Insert(0x846e88, 0x8f1000)
/usr/local/go/src/runtime/mheap.c:692 +0x8f fp=0x7ffeefbfef38 sp=0x7ffeefbfef10
MHeap_FreeSpanLocked(0x843a80, 0x8f1000, 0x100)
/usr/local/go/src/runtime/mheap.c:583 +0x163 fp=0x7ffeefbfef78 sp=0x7ffeefbfef38
MHeap_Grow(0x843a80, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.c:420 +0x1a8 fp=0x7ffeefbfefb8 sp=0x7ffeefbfef78
.....
I've re-installed docker from docker.com and reboot the system several times. The problem does not go away
This is definitely caused by older versions of go running on osx.
For me I removed older versions of go I had installed via brew, you can see all go's on your system by doing
which -a go
make sure you only have one and it's a recent version.
Next you should reinstall the tool to make sure you have a version of it compiled on a recent version of go.
This would probably be docker CE for osx https://store.docker.com/editions/community/docker-ce-desktop-mac
My issue was with kubectl so I did gcloud components install kubectl instead.

build failed when push notification plug in added to project on mac

I am using PhoneGap to build applications.
Application runs properly on emulator but when push notification plug in is added to project it gives build errors.
I searched this issue...initially it was found to be a common issue to many people...tried all solutions...but still the same build errors.
here is the plug in
sudo cordova plugin add phonegap-plugin-push
one of the solution said try out with 1.2.3 version of push notification i.e
sudo cordova plugin add phonegap-plugin-push#1.2.3
There were no errors using this version but then it is older version want a solution with the latest version.
The latest is working on windows machine but not on MAC.
Here is the detailed error when used latest version
ANDROID_HOME=/Users/bunty/Library/android-sdk-macosx
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find any version that matches com.android.support:support-v13:23+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v13/maven-metadata.xml
https://repo1.maven.org/maven2/com/android/support/support-v13/
Required by:
:android:unspecified
> Could not find any version that matches com.google.android.gms:play-services-gcm:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/maven-metadata.xml
https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/
Required by:
:android:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 37.885 secs
Error: Error code 1 for command: /Users/bunty/Documents/ParsianaApp/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/bunty/Documents/ParsianaApp/platforms/android/build.gradle,-PcdvBuildArch=arm,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
Can anyone help on this ?
If you read the install guide
You will need to ensure that you have installed the following items
through the Android SDK Manager:
Android Support Library version 23 or greater
Android Support Repository version 20 or greater
Google Play Services version 27 or greater
Google Repository version 22 or greater
You can do it manually or using this command:
android update sdk --no-ui --filter "extra"
Dont use sudo for installing. It causes permissions issues.

Resources