-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue while deploying/installing #9
Comments
there is an error on line numbe 3 in server.js |
This is probably because of the update of the node package manager as there may be vulnerabilities that the device is not able to rectify. Try
Even if there's an error try installing the packages manually. |
You can try the same method mentioned above as well and check if that works. |
ubuntu@ip-172-31-12-54:~/AWS-Session$ npm run start
/home/ubuntu/AWS-Session/server.js:3
const { resolve } = require("path");
^
SyntaxError: Unexpected token {
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
npm ERR! weird error 8
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: