Could not find a file named "pubspec.yaml" - here_sdk example error - flutter-dependencies

followed these instructions on Github to run a here_sdk example and received an error. Trying to run a Here example in Flutter for the first time and not having success with these instructions or other instructions found on Here developer documentation.
Link to Here Documentation - https://developer.here.com/documentation/flutter-sdk-explore/4.3.1.0/dev_guide/topics/quick-start.html
Get Started for Flutter
Unzip the HERE SDK for Flutter plugin to the plugins folder that can be found inside the example app project. Rename the folder to 'here_sdk': hello_map/plugins/here_sdk (Done)
Set your HERE SDK credentials to
hello_map/android/app/src/main/AndroidManifest.xml (Done)
hello_map/ios/Runner/Info.plist (Done)
Start an Android emulator or an iOS simulator and execute flutter run from the app's directory - or run the app from within your IDE.(Will not run due to errror)
Link - https://github.com/heremaps/here-sdk-examples#get-started-for-flutter
Error Received:
event sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in hello_map_app...}
Could not find a file named "pubspec.yaml" in "C:\sec\Flutter\examples\Here Examples\hello_map_app\plugins\here_sdk".
event sent after app closed: {id: 0, progressId: null, finished: true}
pub get failed (66; Could not find a file named "pubspec.yaml" in "C:\sec\Flutter\examples\Here Examples\hello_map_app\plugins\here_sdk".)
The error is correct, no yaml file was found in the here_sdk download for Flutter.

Related

Missing config.json stencil CLI

I'm trying to do some work for a client, but cannot get their bigcommerce site running locally. I have installed stencil CLI (v3.1.1) and downloaded the theme from the bigcommerce dashboard (all files). from the root of the theme i ran "stencil init", then "npm i" and "stencil start".
when i run stencil start, it throws an error saying there's no config.json file.
this is the error i get
How do i generate the config.json file?
The only config file I see is config.stencil.json.
I have also tried running "stencil pull" in hopes that it would pull the config, but it throws another error: "not ok -- Error: Could not fetch active theme details for channel 1: Request failed with status code 404"
Stencil-cli version:
3.1.1
Node version:
12
NPM version:
6.14.15
OS:
mac big sur
Stencil 3.1.1 has been deprecated for some time now. I believe the current version is 3.8. As of 4 months ago, anything below 3.5 will not run (https://developer.bigcommerce.com/changelog#publications/required-stencil-cli-version-set-to-3-5-0).
If you don't have a config.json file in your project, you will need to get the one from the client's store. Try downloading their theme again. It should come through.
Edit: It is possibly the case that you need a new API token. Try making a new one for your store. Make sure the following scopes are set:
Themes: Modify
Settings & Information: Modify
Sites & Routes: Read-only (or Modify)
Documentation for creating a new API account: https://support.bigcommerce.com/s/article/Store-API-Accounts#creating

Switching to Xcode 8.2.1 causes BRCloudDocsErrorDomain

When I switched from Xcode 7.3.1 to Xcode 8.2.1 I get the following error when I try to save (via Cmd+s) the first time.
[ERROR] Failed getting container for URL: file:///Users/bob/Desktop/,
error: Error Domain=BRCloudDocsErrorDomain Code=12 "App library not
found: 'com.apple.Desktop'" UserInfo={NSDescription=App library not
found: 'com.apple.Desktop'}
When I tried to disable iCloud Drive from System Preferences.. I instead get the following error.
[ERROR] Failed getting container for URL: file:///Users/bob/Desktop/,
error: Error Domain=BRCloudDocsErrorDomain Code=2 "Logged out - iCloud
Drive is not configured" UserInfo={NSDescription=Logged out - iCloud
Drive is not configured}
I am creating a MacOS app and I do not need to use Cloud, but it seems that the cloud is somehow involved when saving a document. What is the problem here and what can be done about it?
I encountered the same problem and I solved it by switching on Sandbox and by selecting which folders I wanted to use in my project parameters.
Hope that this help you

Exponent: Failed to publish package

I'm trying to publish the app from inside Exponent, but I'm getting the message "Failed to publish package: API Response Error: Cannot convert undefined or null to object.".
Any ideas why?
(there are no other error logs and the app runs fine with the exp:// link and my computer running it, so I'm not sure what other information would be useful).

Out of process server in VOIP

I found voip example on github for UWP. Now I'm trying to create my voip app, and I want to use VoipHost project in my app. I added existing project, edited package manifest file. When I want to deploy the app to the device I get error:
Severity Code
Description Project
File Line
Suppression State Error
DEP6701 : Bootstrapping failed with unexpected error: 'The ID value is not specified. Parameter name: id'.
VoipHost
And one warning:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): warning APPX1708: The executable 'VoipHost.exe' is specified as the implementation for the .winmd file. Only in-process servers are supported for generating registration information in the app manifest. You must specify the out-of-process server registration information in the app manifest.
Any advices?
Many thanks.
I had a similar issue deploying a headless application with Windows IoT running in a Raspberry pi 3. I solved the problem giving an "Assembly Identity" in the project properties.
You can do that following the next steps: Rigth Click to project --> Properties --> Manifest Tool --> General.
Fill the field "Assembly Identity" with any number. After that compiles, run and works like a charm.

Sencha build production error

I had successfully create production build. When i am trying to access production build from chrome than i am getting below error
Error: [Ext.Loader] Failed loading synchronously via XHR:
'src/field/Select.js'; please verify that the file exists. XHR status
code: 404
I had already included Ext.field.Select as requires in app.js.
Please tell me what should i do now
Before the start of your script, i.e., in app.js. Try adding Ext.Loader.setConfig({ enabled: true }); Check this
or
Also, Set the src of sdk in app.js prod environment dir: Ext.Loader