AssetImage not loading images from external package like flutter_gallery_assets - flutter-dependencies

I am unable to load assets from external package like flutter_gallary_assets:
I have pubspec.yaml
flutter_gallery_assets: ^1.0.2
And in code:
const Image(image: AssetImage(
'/people/square/sandra.png',
package: 'flutter_gallery_assets',
)),
But I get:
Error while trying to load an asset: Failed to load asset at "assets/packages/flutter_gallery_assets//people/square/sandra.png" (404)
======== Exception caught by image resource service ================================================
The following assertion was thrown resolving an image codec:
Unable to load asset: packages/flutter_gallery_assets//people/square/sandra.png
It is like it does not get that it is from another package?

Related

Error: package or namespace load failed for ‘ncappc’

While attempting to load the ncappc library, I am receiving the following error -
library(ncappc)
Error: package or namespace load failed for ‘ncappc’:
.onLoad failed in loadNamespace() for 'Cairo', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Cairo/libs/Cairo.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Cairo/libs/Cairo.so, 6): Library not loaded: /opt/X11/lib/libXrender.1.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Cairo/libs/Cairo.so
Reason: image not found
I have uninstalled ncappc, as well as Cairo, but am still receiving the same error message.
Any help would be greatly appreciated.

Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND

I'm trying to run a login page on my Laravel project, but I get this error on the console :
DevTools failed to load source map: Could not load content for
chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
If you have any ideas, please help!

Colab get stucked in loading

I am getting stucked in loading mode of colab. It occures in Chrome and Firefox.
- content of developers tool in Chrome:
[Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://colab.research.google.com/static/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff?V=2.7.5
error: Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
warning: DevTools failed to load source map: Could not load content for https://colab.research.google.com/v2/common/webcomponentsjs/v2/webcomponents-lite.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://colab.research.google.com/v2/external/js/min-maps/vs/loader.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://colab.research.google.com/v2/external/js/min-maps/vs/editor/editor.main.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://colab.research.google.com/v2/common/webanimationsjs/web-animations-next-lite.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
I couldn't solve it!

Bundle chunks are not loading in iPhone for stencil theme in bigcommerce

I am using Chiara theme based on stencil in bigcommerce and here is the link of it :
https://bg-test.mybigcommerce.com
I have done few customizations and its working properly in desktops and andriod devices but some how its giving following error in iPhone on browser console :
[Error] The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.
[Error] The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored. (x2)
[Error] The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.
[Error] Failed to load resource: the server responded with a status of 404 () (theme-bundle.main.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (theme-bundle.chunk.4.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (theme-bundle.chunk.2.js.map, line 0)
If you go to following url : https://bg-test.mybigcommerce.com/graco-extend2fit-convertible-car-seat/
The datepicker should work but its not working on iPhone and due to the above errors
I have tried to remove the devtool: 'source-map' from webpack but its the same error on iPhone
Please not that it is working in desktop safari but it is not working on iphone on safari, chrome both

Getting Failed to load %5Bobject%20Object%5D on Webpack generated js hosted in express due to stylus styles

I am working on augmenting the example found here. So first of all it works great if I call npm start. Now I wanted to try and get it to work with an existing ExpressJS project. To do this in a quick and dirty way I copy the three js files to the ./public/javascripts folder and create the following index.jade...
extends layout
block content
my-app Loading....
script(type="text/javascript", src="http://localhost:3000/javascripts/polyfills.js")
script(type="text/javascript", src="http://localhost:3000/javascripts/vendor.js")
script(type="text/javascript", src="http://localhost:3000/javascripts/app.js")
but now I get....
Error: Uncaught (in promise): Failed to load %5Bobject%20Object%5D
at resolvePromise (zone.js:538)
at PromiseCompleter.reject (zone.js:515)
at application_ref.js:349
at ZoneDelegate.invoke (zone.js:323)
at Object.NgZoneImpl.inner.inner.fork.onInvoke (ng_zone_impl.js:48)
at ZoneDelegate.invoke (zone.js:322)
at Zone.run (zone.js:216)
at zone.js:571
at ZoneDelegate.invokeTask (zone.js:356)
at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (ng_zone_impl.js:39)
at ZoneDelegate.invokeTask (zone.js:355)
at Zone.runTask (zone.js:256)
at drainMicroTaskQueue (zone.js:474)
at XMLHttpRequest.ZoneTask.ZoneTask.cancelFn.invoke (zone.js:426)
zone.js:461 Unhandled Promise rejection: Failed to load %5Bobject%20Object%5D ; Zone: angular ; Task: Promise.then ; Value: Failed to load %5Bobject%20Object%5DconsoleError # zone.js:461_loop_1 # zone.js:490drainMicroTaskQueue #zone.js:494ZoneTask.ZoneTask.cancelFn.invoke # zone.js:426
Current project is available here
So for some reason this worked with the built in webpack server
styleUrls: [String(require('./navbar.component.styl'))]
This of course should be
styles: [String(require('./navbar.component.styl'))]