Click here to Skip to main content
15,947,411 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Pin
Member 1564789823-May-22 19:35
Member 1564789823-May-22 19:35 
AnswerRe: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Pin
Richard Deeming23-May-22 21:19
mveRichard Deeming23-May-22 21:19 
PraiseQ Pin
Daniyar Saydullaev22-May-22 7:00
Daniyar Saydullaev22-May-22 7:00 
AnswerRe: JAVA Assigtment help for 100$ 1h help needed Pin
Richard MacCutchan22-May-22 21:46
mveRichard MacCutchan22-May-22 21:46 
QuestionLookup against a large SharePoint list with CAML Query Pin
Hilario Dsouza6-May-22 9:41
Hilario Dsouza6-May-22 9:41 
QuestionReact.Js Pin
Regis Valoch Tangou1-May-22 6:14
Regis Valoch Tangou1-May-22 6:14 
AnswerRe: React.Js Pin
timDeHof3-Jul-22 3:30
timDeHof3-Jul-22 3:30 
QuestionAngular exceljs adding an image gives the error: u.readFile is not a function at exceljs.min.js:3:449768 Angular application Pin
Stephen Holdorf25-Apr-22 8:54
Stephen Holdorf25-Apr-22 8:54 
I am developing in Angular 12 with the exceljs package. I am trying to add an image to a Workbook and the TS below produces and throws the client side exception:

Error: Uncaught (in promise): TypeError: u.readFile is not a function
TypeError: u.readFile is not a function
at exceljs.min.js:3:449768



Here is the code I am calling:

let imageSrc = '\assets\images\graph.jpeg'

var imageId1 = workbook.addImage(
  {
    filename: imageSrc,
    extension: 'jpeg',
  });


workbook.xlsx.writeBuffer().then((data) => {
  let blob = new Blob([data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
  fs.saveAs(blob, 'Random Number Generator.xlsx');
});


modified 25-Apr-22 15:36pm.

AnswerRe: Angular exceljs adding an image gives the error: u.readFile is not a function at exceljs.min.js:3:449768 Angular application Pin
Richard Deeming25-Apr-22 21:10
mveRichard Deeming25-Apr-22 21:10 
QuestionDisappearing linked drop-down menus Pin
gosipp24-Apr-22 11:59
gosipp24-Apr-22 11:59 
AnswerRe: Disappearing linked drop-down menus Pin
Richard MacCutchan24-Apr-22 21:39
mveRichard MacCutchan24-Apr-22 21:39 
GeneralRe: Disappearing linked drop-down menus Pin
gosipp24-Apr-22 21:42
gosipp24-Apr-22 21:42 
QuestionReloading a wav file after ended Pin
Burketa219-Apr-22 7:24
Burketa219-Apr-22 7:24 
AnswerRe: Reloading a wav file after ended Pin
Richard Deeming19-Apr-22 21:30
mveRichard Deeming19-Apr-22 21:30 
QuestionHow to convert tagged text into html formatted text? Pin
Alex Dunlop18-Apr-22 19:25
Alex Dunlop18-Apr-22 19:25 
QuestionLoops, someone to help me Pin
FranciscaNunes200412-Apr-22 10:30
FranciscaNunes200412-Apr-22 10:30 
AnswerRe: Loops, someone to help me Pin
Richard MacCutchan12-Apr-22 21:16
mveRichard MacCutchan12-Apr-22 21:16 
AnswerRe: Loops, someone to help me Pin
Member 1562749529-May-22 21:29
Member 1562749529-May-22 21:29 
QuestionReact date formatting Pin
Simon_Whale7-Apr-22 3:25
Simon_Whale7-Apr-22 3:25 
AnswerRe: React date formatting Pin
Peter_in_27807-Apr-22 3:34
professionalPeter_in_27807-Apr-22 3:34 
AnswerRe: React date formatting Pin
Richard Deeming7-Apr-22 4:01
mveRichard Deeming7-Apr-22 4:01 
AnswerRe: React date formatting Pin
Jeremy Falcon26-Oct-22 12:01
professionalJeremy Falcon26-Oct-22 12:01 
Questionjava project Pin
Turki F773-Apr-22 15:30
Turki F773-Apr-22 15:30 
AnswerRe: java project Pin
Richard Deeming3-Apr-22 21:26
mveRichard Deeming3-Apr-22 21:26 
QuestionAsync call inside loop finishes later than loop itself Pin
Bohuslav Parenica2-Apr-22 0:51
Bohuslav Parenica2-Apr-22 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.