You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2018. It is now read-only.
I'm not quite sure what I'm missing, sorry to bother again with a diminutive noob question.
I have tried to deploy to my production vps host, which is Ubuntu 16.04. Everything installs fine (pertaining to nodejs) as far as I can tell. When I try to navigate to the index, it gives me this error:
Debug: internal, implementation, error
SyntaxError: /home/test/aqua/server/web/home/index.jsx: Unexpected token (10:21)
8 | render() {
9 |
> 10 | const neck = <link rel='stylesheet' href="/public/pages/home.min.css" />;
| ^
11 |
12 | return (
13 | <Layout
at Parser.pp$5.raise (/home/test/aqua/node_modules/babylon/lib/index.js:4454:13)
at Parser.pp.unexpected (/home/test/aqua/node_modules/babylon/lib/index.js:1761:8)
at Parser.pp$3.parseExprAtom (/home/test/aqua/node_modules/babylon/lib/index.js:3750:12)
at Parser.pp$3.parseExprSubscripts (/home/test/aqua/node_modules/babylon/lib/index.js:3494:19)
at Parser.pp$3.parseMaybeUnary (/home/test/aqua/node_modules/babylon/lib/index.js:3474:19)
at Parser.pp$3.parseExprOps (/home/test/aqua/node_modules/babylon/lib/index.js:3404:19)
at Parser.pp$3.parseMaybeConditional (/home/test/aqua/node_modules/babylon/lib/index.js:3381:19)
at Parser.pp$3.parseMaybeAssign (/home/test/aqua/node_modules/babylon/lib/index.js:3344:19)
at Parser.pp$1.parseVar (/home/test/aqua/node_modules/babylon/lib/index.js:2340:24)
at Parser.pp$1.parseVarStatement (/home/test/aqua/node_modules/babylon/lib/index.js:2169:8)
Is this something to do with JSX not being accepted? (babel?)
Thanks in advance! ^_^
The text was updated successfully, but these errors were encountered:
I'm not quite sure what I'm missing, sorry to bother again with a diminutive noob question.
I have tried to deploy to my production vps host, which is Ubuntu 16.04. Everything installs fine (pertaining to nodejs) as far as I can tell. When I try to navigate to the index, it gives me this error:
Is this something to do with JSX not being accepted? (babel?)
Thanks in advance! ^_^
The text was updated successfully, but these errors were encountered: