I am upgrading my static site from Nuxt3-RC3 to Nuxt3-RC11.
After upgrading I get a lot of errors and warnings in the console related to my dynamic routes (/m/[...slug].vue). It appears, that Nuxt is trying to prefect the dynamic pages it finds links to (e.g. /m/some/page) by looking up an _payload.js for each dynamic route. The warning is, that
ERROR: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
WARNING: entry.8994fad8.js:5 [nuxt] Cannot load payload /m/d6746dd9-497b-4f9a-8201-513b19762ccd/f6358aa0-07a4-46c4-b3eb-9d6c515f07c7/_payload.js TypeError: Failed to fetch dynamically imported module: /m/d6746dd9-497b-4f9a-8201-513b19762ccd/f6358aa0-07a4-46c4-b3eb-9d6c515f07c7/_payload.js
(anonymous) # entry.8994fad8.js:5
When I click to open the _payload.js in the browser file I can see, that it is rendered as an html file which explains the mime type error.
But, why is Nuxt throwing these errors and warnings and how can I avoid them?
This is no longer a problem. Solution is to upgrade to the new stable Nuxt3
I can't understand why I'm receiving a XAML parsing error:
Unhandled Exception:
Xamarin.Forms.Xaml.XamlParseException: Position 8:10. Type
uilogic:ViewModel1 not found in xmlns
clr-namespace:Nikeza.Mobile.UILogic.Registration;assembly=Nikeza.Mobile.UILogic
occurred
I know for a fact that my namespace declaration is correct because IntelliSense displays the class name as a suggestion when I'm setting my binding-context.
Here's the view-model that I'm trying to bind to:
The following attempts have failed:
deleted obj and bin folders
Rebooted machine
Just Try:
xmlns:registration="clr-namespace:Nikeza.Mobile.UILogic.Registration"
In the Azure portal, when I go to my Container Registry and click on Repositories (under Services), my repositories don't load and I get the error message Error loading repositories.
The console of Chrome contains the following error messages:
GET https://REMOVED.azurecr.io/v2/_catalog 401 (Unauthorized) - REMOVED.azurecr.io/v2/_catalog:1
[Microsoft_Azure_ContainerRegistries] 1:20:06 PM -
efe5474C39B089216811DEA68B8392644A0C676A067.js:24 (With body:)
MsPortalFx.Base.Diagnostics.ErrorReporter 1 MsPortalFx.Base.Diagnostics.ErrorReporter: _errorData: undefined
_sourceErrorLevel: undefined
baseTypes: ["MsPortalFx.Errors.AjaxError","MsPortalFx.Errors.Error"]
code: undefined
data: {"type":"GET","sessionId":"9e259d2b5dab4ad2972a1e6b76e844d2","status":401,"statusText":"Unauthorized","duration":28.5}
errorLevel: 2
errorThrown: Unauthorized
extension: Microsoft_Azure_ContainerRegistries
handled: undefined
innerErrors: []
jqXHR: {"readyState":4,"responseText":"{\"errors\":[{\"code\":\"UNAUTHORIZED\",\"message\":\"authentication required\",\"detail\":[{\"Type\":\"registry\",\"Name\":\"catalog\",\"Action\":\"*\"}]}]}\n","responseJSON":{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"registry","Name":"catalog","Action":"*"}]}]},"status":401,"statusText":"Unauthorized"}
message: ajaxExtended call failed
name: Error
source: undefined
stack: null
textStatus: error
timestamp: 1567.8750000000002
type: MsPortalFx.Errors.AjaxError
The error says I'm unauthorized, but I have the Owner role, so this should not be possible. Other users that are owner don't get this error.
Any clue how I can fix this?
The error resolved itself after a couple of days.
I tried using a different browser and a different computer. Both methods still showed the error. So I think it might have been a bug.
just uploaded my AKS and needed to pull lots of images from ACR. also got error afterwards due to load:
{"type":"MsPortalFx.Errors.FetchDataError","baseTypes":["MsPortalFx.Errors.FetchDataError","MsPortalFx.Errors.DataError","MsPortalFx.Errors.Error"],"_errorData":{"readyState":4,"responseText":"","status":500,"statusText":"Internal Server Error"},"extension":"Microsoft_Azure_ContainerRegistries","errorLevel":2,"timestamp":10180.93499999668,"source":"DataCache:2:3","message":"","name":"Error","innerErrors":[],"dataSetName":"DataCache:2:3"}
I am getting few errors while building Windows media foundation application.
error C3861: 'MFCreateSourceReaderFromURL': identifier not found
error C2027: use of undefined type 'IMFSourceReader'
I have added Additional Include Directory and Library file paths in the project properties. I have also added "mfplat.lib" as additional dependencies.
But still I am getting above errors.
Environment: Symfony 2.8.1 with XAMPP Version 5.5.24 on Windows 7.
If I trigger a fatal error in a controller, anything as simple as $array = ; in production environment, I'm getting a default php error:
Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\tgsupport-test\src\AppBundle\Controller\DefaultController.php on line 16
followed by symfony custom error page message. Obviously I'd want to avoid to show eorr info in production.
Moreover in prod.log I see a double critical error: under php.CRITICAL and request.CRITICAL. Is really useful to show the same error twice?
I'm using default configuration, indeed I just installed default framework without any custom setting and I triggered my error in AppBundle/DefaultController, so I was wondering if I'm missing anything.
I missed a php.ini configuration to avoid to display error messages in page.