This repository has been archived by the owner on Apr 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 520
All the sample as lucky why not together? Has been given #193
Comments
From the error:
It looks like the property you've trying to invoke on your JavaScript module is not a function instance. Perhaps it's an object or string or something else. You'll need to make sure that the thing you try to invoke is a function. |
Solved, Thank you! |
I want to add to the cache, there is better than my way? I hope it is permanent in nature cached on the client, and the same access to the general characteristics of the image |
This was referenced Nov 5, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
All the sample as lucky why not together? Has been given, What I done wrong?
http://localhost:3558/resize/1796658309.jpg?maxWidth=784&maxHeight=764
`
An unhandled exception occurred while processing the request.
Exception: Call to Node module failed with error: TypeError: func.apply is not a function
at C:\Users\weisp\AppData\Local\Temp\tmpC157.tmp:108:19
at IncomingMessage. (C:\Users\weisp\AppData\Local\Temp\tmpC157.tmp:127:35)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:921:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
MoveNext
Stack Query Cookies Headers
Exception: Call to Node module failed with error: TypeError: func.apply is not a function at C:\Users\weisp\AppData\Local\Temp\tmpC157.tmp:108:19 at IncomingMessage. (C:\Users\weisp\AppData\Local\Temp\tmpC157.tmp:127:35) at emitNone (events.js:67:13) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:921:12) at nextTickCallbackWith2Args (node.js:442:9) at process._tickCallback (node.js:356:17)
MoveNext
ThrowForNonSuccess
HandleNonSuccessAndDebuggerNotification
GetResult
MoveNext
ThrowForNonSuccess
HandleNonSuccessAndDebuggerNotification
GetResult
MoveNext
ThrowForNonSuccess
HandleNonSuccessAndDebuggerNotification
GetResult
MoveNext in ResizeImageController.cs
var imageStream = await _nodeServices.InvokeAsync( ...
`
System.Exception: Call to Node module failed with error: TypeError: func.apply is not a function at C:\Users\weisp\AppData\Local\Temp\tmpC157.tmp:108:19 at IncomingMessage.<anonymous> (C:\Users\weisp\AppData\Local\Temp\tmpC157.tmp:127:35) at emitNone (events.js:67:13) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:921:12) at nextTickCallbackWith2Args (node.js:442:9) at process._tickCallback (node.js:356:17) at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.<InvokeExportAsync>d__7
1.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult() at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.<InvokeExportAsync>d__9
1.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult() at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.<InvokeExportWithPossibleRetryAsync>d__9
1.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult() at Resize.Controllers.ResizeImageController.<Index>d__5.MoveNext() in E:\Resize\src\Resize\Controllers\ResizeImageController.cs:line 53 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionFilterAsync>d__28.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Web.BrowserLink.Runtime.BrowserLinkMiddleware.<ExecuteWithFilter>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__6.MoveNext()
tmpC157
`(function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /_/ (function(modules) { // webpackBootstrap
/__/ // The module cache
/_**/ var installedModules = {};
/_/ // The require function
/_/ function webpack_require(moduleId) {
/_/ // Check if module is in cache
/__/ if(installedModules[moduleId])
/_**/ return installedModules[moduleId].exports;
/_/ // Create a new module (and put it into the cache)
/__/ var module = installedModules[moduleId] = {
/__/ exports: {},
/__/ id: moduleId,
/__/ loaded: false
/_**/ };
/_/ // Execute the module function
/_/ modules[moduleId].call(module.exports, module, module.exports, webpack_require);
/_/ // Flag the module as loaded
/_/ module.loaded = true;
/_/ // Return the exports of the module
/__/ return module.exports;
/_**/ }
/_/ // expose the modules object (webpack_modules)
/_/ webpack_require.m = modules;
/_/ // expose the module cache
/_/ webpack_require.c = installedModules;
/_/ // webpack_public_path
/_/ webpack_require.p = "";
/_/ // Load entry module and return exports
/__/ return webpack_require(0);
/__/ })
/_*************************************************************_/
/_/ ([
/ 0 /
// function(module, exports, webpack_require) {
// },
/ 1 /
// function(module, exports, webpack_require) {
// },
/ 2 /
// function(module, exports) {
// },
/ 3 /
// function(module, exports) {
// },
/ 4 /
// function(module, exports) {
/_/ }
/_***/ ])));`
The text was updated successfully, but these errors were encountered: