Giter Site home page Giter Site logo

Comments (25)

ianramzy avatar ianramzy commented on May 10, 2024

There is no build script currently, so that is why npm run build fails instead run:

  1. npm install
  2. npm start

Let me know if that fixes your problem :)

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 10, 2024

@us4group you can't build it. there's nothing to 'build'. This is not a React/Vue/Angular app, it's a server. It's ready to run already :)

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

@us4group you can't build it. there's nothing to 'build'. This is not a React/Vue/Angular app, it's a server. It's ready to run already :)

then how can i Upload on my server ?

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

There is no build script currently, so that is why npm run build fails instead run:

1. `npm install`

2. `npm start`

Let me know if that fixes your problem :)

@ianramzy
i have install already npm

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

There is no build script currently, so that is why npm run build fails instead run:

1. `npm install`

2. `npm start`

Let me know if that fixes your problem :)

@ianramzy how can i upload it on my live server ? I have install npm already . its running find on my localhost , buy i want to upload it on my server .

help me

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

Zip the files of the project and upload them that way? Then unzip and run the previous commands? I dont know your server, but that is a general approach.

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

Zip the files of the project and upload them that way? Then unzip and run the previous commands? I dont know your server, but that is a general approach.
@ianramzy
I have "linux server hosting" I uploaded .zip but its not working .

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

you need to then unzip the files, cd into the unzipped project folder, and then run npm install, npm start (also make sure your .env file is there aswell!)

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

you need to then unzip the files, cd into the unzipped project folder, and then run npm install, npm start (also make sure your .env file is there aswell!)

@ianramzy
i have upload all file here you can see http://xyz.com/awa/

in my localhost running good but i am unable to upload it on my server live

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

did you run the npm commands?

On Mon, Jul 6, 2020 at 1:06 PM us4group @.***> wrote: you need to then unzip the files, cd into the unzipped project folder, and then run npm install, npm start (also make sure your .env file is there aswell!) @ianramzy https://github.com/ianramzy i have upload all file here you can see http://xyz.com/awa/ — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#60 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKTWLJBR5FFZDL6C2WIGCDR2IAAJANCNFSM4ONOQJFQ .
-- Ian Ramzy Software Engineer Founder at Zipcall Intern at Shopify University of Waterloo [email protected] ianramzy.com github.com/ianramzy zipcall.io linkedin.com/in/ianramzy
@ianramzy
yes

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

what is the error?

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

what is the error?
@ianramzy
i am unable to build
i have also install npm react-scripts and add package.json "build": "react-scripts build",

its my package .json
{
"name": "video-chat-master",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"start": "node server.js",
"build": "react-scripts build",
"test": "echo "Error: no test specified" && exit 1"
},
"author": "yadav",
"license": "ISC",
"dependencies": {
"heroku-ssl-redirect": "0.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1",
"socket.io": "^2.3.0",
"twilio": "^3.47.0"
}
}

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

What commands are you running, there is no build command. Only npm install and npm start

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

What commands are you running, there is no build command. Only npm install and npm start

@{
"name": "video-chat-master",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"start": "node server.js",
"build": "react-scripts build",
"test": "echo "Error: no test specified" && exit 1"
},
"author": "yadav",
"license": "ISC",
"dependencies": {
"heroku-ssl-redirect": "0.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1",
"socket.io": "^2.3.0",
"twilio": "^3.47.0"
}
}
@{
"name": "video-chat-master",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"start": "node server.js",
"build": "react-scripts build",
"test": "echo "Error: no test specified" && exit 1"
},
"author": "yadav",
"license": "ISC",
"dependencies": {
"heroku-ssl-redirect": "0.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1",
"socket.io": "^2.3.0",
"twilio": "^3.47.0"
}
}

@ianramzy npm install and npm start its working fine on my localhost:3000 , but i want to upload it on my live server

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

This isnt a react project, there are no react-scripts to build. Remove the build part of package.json. ONLY run npm install and npm start. Thats all you need.

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

This isnt a react project, there are no react-scripts to build. Remove the build part of package.json. ONLY run npm install and npm start. Thats all you need.

@ianramzy everything is working fine on my localhost . but my problem is that how can i run on this URl http://xyz.com/awa/

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

Is your server a live server? Or just a server that hosts static files? Because you cannot deploy zipcall on a static file server.

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

Is your server a live server? Or just a server that hosts static files? Because you cannot deploy zipcall on a static file server.

@ianramzy its my live server .

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

So what happens when you run the npm commands on your live server?

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

So what happens when you run the npm commands on your live server?

@ianramzy in my cpanel not any command options . i want to run project auto every time on my server like a angular build file

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

Not sure what cpanel is, but you need to have access to a terminal running inside your server. That is what a live server is, it sounds like yours is just static file hosting.

from decentralized-video-chat.

wskwebsolution avatar wskwebsolution commented on May 10, 2024

terminal

@ianramzy ok thank you , i will try to run by terminal , then i will let you know about this if any error

from decentralized-video-chat.

parsa-xy avatar parsa-xy commented on May 10, 2024

How to use zipcall on a static server? I want to use it for my website which is written on react

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 10, 2024

from decentralized-video-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.