-
Notifications
You must be signed in to change notification settings - Fork 482
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
Comands to run #4
Comments
First install all the dependencies then run |
So what is the command to install the dependencies? @AmeerHamoodi |
|
After installing dependencies...type nodemon server.js |
let me see |
@starc007 @AmeerHamoodi I got this error C:\Users\susmitdas\Downloads\nodejs-zoom-clone-master\node_modules\uuid\dist\esm-browser\index.js:1 SyntaxError: Unexpected token 'export' |
In place of export there will be 'import' |
On all the export statements? |
C:\Users\susmitdas\Downloads\nodejs-zoom-clone-master\node_modules\uuid\dist\esm-browser\index.js:1 SyntaxError: Cannot use import statement outside a module |
Did you installed the dependencies by running npm install ? |
If the method of running via nodemon is not working do |
This error is probably because Node doesn't support import/export. You're going to need Babel to transcribe your ES6 to ES5 so node can run it. The explanation & link above is for reference purposes -- don't worry about the error you're getting. You shouldn't have to change anything if you install the dependencies properly. Just Don't change the export/import statements as mentioned in the comments above(unless they're the one who contributed to this app, in that case I could be wrong.) The app runs for me without any modification besides installing the dependencies. |
error: `C:\Users\susmitdas\Downloads\nodejs-zoom-clone-master\node_modules\uuid\dist\esm-browser\index.js:1 SyntaxError: Unexpected token 'export'` |
Code Server.js
Code Index.js |
What version of Node are you using @idontcareofusername ? |
I updated but still error popped |
https://github.com/starc007/Zoom-Clone |
excatly same error popped up 😓 |
What version of node are you on, not sure it would have an effect on your current issue but it may. Also, try cloning the repository in a new folder then running |
not working |
I'm starting from scratch now and same error pops up after downloading a package that handles uuidv4 |
Yo l might know your problem! did you install react???(in the first place) if not tell me and l will give you the code to do it! |
What do you mean by installing react? |
You need to install react on your pc for the whole thing to work silly. |
1.Download the file |
npm i or npm install takes a long time to install just saying |
a reply plz? |
Ok let me try that. I think it might work! |
Ayyy l hope it does!! |
What are the commands to run for it to work/ run.
The text was updated successfully, but these errors were encountered: