I have a server written in node.js using node 6.10.2 and ecmascript. I want to upload it to heroku, locally when i rung the server with "npm start" the server starts without a problem, but on heroku I recevied the following error
import express from 'express';
SyntaxError: Unexpected token import
How can I fix this error?
Thanks
via Dorin
No comments:
Post a Comment