Giter VIP home page Giter VIP logo

Comments (3)

gilesgas avatar gilesgas commented on April 28, 2024

Hi @zuhrulumam ,

When you ran through this tutorial, there were some errors in it which were fixed when this PR was merged.

Essentially, the repository you fork (during the course of this tutorial) was originally named simple-node-js-react-app, but its name was changed to simple-node-js-react-npm-app to reflect that npm is being leveraged by Jenkins to build the app.

Unfortunately at the time, I didn't update all references of simple-node-js-react-app to simple-node-js-react-npm-app in the tutorial. However, as part of renaming this tutorial (in the PR linked above), which happened soon after this tutorial was published, I also updated/fixed all simple-node-js-react-app references to simple-node-js-react-npm-app.

Regardless, the tutorial should work if you use either simple-node-js-react-app OR simple-node-js-react-npm-app (i.e. not a combination of both) for your directory paths consistently throughout the tutorial.

I'm curious to know if you may have used a combination of these directory paths because when I saw your output (above):

  • /var/jenkins_home/workspace/sails-cicd@tmp/durable-fbe0e1fd/script.sh: ...

I was expecting to see either:

  • /var/jenkins_home/workspace/simple-node-js-react-app/...
    or
  • /var/jenkins_home/workspace/simple-node-js-react-npm-app/...

Since the tutorial is now fixed, could I suggest you re-run through it and it should work as expected. Out of interest, what platform (i.e. operating system) are you running through this tutorial on?

Please add a comment to let me know how you go. (If I don't hear back, I'll assume all is fixed and will close this issue early next week.)

Cheers,
Giles.

from simple-node-js-react-npm-app.

gilesgas avatar gilesgas commented on April 28, 2024

Another point worth mentioning ... If you wish to use the Jenkinsfile (created during the course of this tutorial) to build another Node.js and React project with npm, then you may need to tweak the Jenkinsfile (as well as the shell scripts it executes) to suit that other project.

You'll also need to ensure that your shell scripts are executable.

from simple-node-js-react-npm-app.

gilesgas avatar gilesgas commented on April 28, 2024

I'm going to close this issue as I assume there are no problems being encountered throughout the course of the tutorial that uses this repository. I should also mention that I re-ran through this tutorial last week and did not experience any problems.

from simple-node-js-react-npm-app.

Related Issues (4)

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.