Answers for "user"

0

user

function getGreeting(user) {
  if (user) {
    return <h1>Hello, {formatName(user)}!</h1>;  }
  return <h1>Hello, Stranger.</h1>;}
Posted by: Guest on September-01-2021
0

user

Error: Failed to lookup view "error" in views directory "C:\Users\Toshi\Desktop\java script\crudapp\views"    at Function.render (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\application.js:580:17)    at ServerResponse.render (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\response.js:1008:7)    at C:\Users\Toshi\Desktop\java script\crudapp\app.js:45:7    at Layer.handle_error (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\layer.js:71:5)    at trim_prefix (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\index.js:315:13)    at C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\index.js:284:7    at Function.process_params (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\index.js:335:12)    at next (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\index.js:275:10)    at Layer.handle_error (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\layer.js:67:12)    at trim_prefix (C:\Users\Toshi\Desktop\java script\crudapp\node_modules\express\lib\router\index.js:315:13)
Posted by: Guest on June-12-2021

Browse Popular Code Answers by Language