Giter VIP home page Giter VIP logo

simple-node-js-react-npm-app's Issues

Got error on pulling node:6-alpine

I got stuck on the step 5: run Jenkins after the first commit.

I got the following error on docker pull node:6-alpine

+ docker pull node:6-alpine
error during connect: Post https://docker:2376/v1.39/images/create?fromImage=node&tag=6-alpine: dial tcp: lookup docker on 127.0.0.11:53: no such host
script returned exit code 1

process apparently never started in /home/jenkins/workspace/developer-console@tmp/durable-28a71889

All aver the internet I didn't find a solution. I'm learning this tutorial about how to build a node.js and React app with Jenkins : https://jenkins.io/doc/tutorials/build-a-node-js-and-react-app-with-npm/#fork-sample-repository

During the build, I got the error

    process apparently never started in /home/jenkins/workspace/developer-console@tmp/durable-28a71889

    (running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)

    script returned exit code -2

My Jenkinsfile looks like :

pipeline {
    agent {
        docker {
            image 'node:6-alpine' 
            args '-p 3000:3000' 
        }
    }
    stages {
        stage('Build') { 
            steps {
                sh 'npm install' 
            }
        }
    }
}

Please do you know how could I correct it ? During the process, when I check, the node:6-alpine is created and running without errors. Thanks

Unable to access the react-node js app on localhost:3000

Hi,

I am following this tutorial for setting up jenkins build server locally. I was able to to set it locally.

The issue I am facing is jenkins is available on localhost:8080 but unable to get the deliver stage's app up on localhost:3000 as mentioned in jenkins/scripts/deliver.sh

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.