(update solution)Express web app service is throwing "SyntaxError: Unexpected token >"

Dante Jiang

I deployed the same web app to two Azure app services, one the fine, while another is throwing such an error. My web is based on Express, how could I fix this issue? Looks the error is not from my source code.

Fri Jul 27 2018 20:05:22 GMT+0000 (Coordinated Universal Time): Application has thrown an uncaught exception and is terminated:
SyntaxError: Unexpected token >
   at Module._compile (module.js:434:25)
   at Object..js (module.js:464:10)
   at Module.load (module.js:353:31)
   at Function._load (module.js:311:12)
   at Module.require (module.js:359:17)
   at require (module.js:375:17)
   at Object.<anonymous> (D:\Program Files\iisnode\interceptor.js:459:1)
   at Module._compile (module.js:446:26)
   at Object..js (module.js:464:10)
   at Module.load (module.js:353:31)
Dante Jiang

This issue was fixed finally, we raised a ticket to MS, Microsoft redeployed the app service to a new set of servers.Then the web site works.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Azure web app service deployment failure saying "SyntaxError: Unexpected token" after updating VS Code

Async throwing SyntaxError: Unexpected token (

Uncaught SyntaxError: Unexpected token & in javascript django app

vue-cli-service: SyntaxError: Unexpected token '...'. Expected a property name

AngularJS $http get service 'SyntaxError: Unexpected token }' issue

JavaScript Firebase Database web Uncaught SyntaxError: Unexpected token with no reason

SyntaxError: Unexpected token < in JSON at position 0 - React app in Rails API

What is causing an "Uncaught SyntaxError: Unexpected token ." in my app?

Create-React-App build - "Uncaught SyntaxError: Unexpected token <"

Firebase deployed react app not working. Uncaught SyntaxError: Unexpected token '<'

Heroku create-react-app deploy Uncaught SyntaxError: Unexpected token <

Upgrading from Babel 5.8.35 to 6.0.0 will not compile app.js with a SyntaxError and unexpected token

Google App Script - SyntaxError: Unexpected token , in JSON at position 1 - When Mapping Background Color Array

Node.js app on Kubenetes crashing with error SyntaxError: Unexpected token import for PM2

const url = {process.env.REACT_APP_DATABASE} SyntaxError: Unexpected token

Configure production environment in a create-react-app(SyntaxError: Unexpected token < in JSON at position 0)

create-react-app Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Redux app error: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

SyntaxError: Unexpected token '?' when creating new app using electron-forge

Uncaught SyntaxError: Unexpected token '<' while deploying create react app to firebase hosting

Uncaught SyntaxError: Unexpected token '<' (at index.js:1:1) REACT APP

React router v6 createBrowserRouter throwing Uncaught SyntaxError: Unexpected token '<' error when importing routes in react application

Getting syntaxError: Unexpected token <

nodejs SyntaxError: Unexpected token

Uncaught SyntaxError: Unexpected token :

SyntaxError: Unexpected token

SyntaxError: Unexpected token 'return'

SyntaxError: Unexpected token 'if'

"SyntaxError: Unexpected token export(…)"