GithubHelp home page GithubHelp logo

Comments (1)

gregturn avatar gregturn commented on June 8, 2024

I just cloned and ran the tutorial's basic section, and it worked fine. I've seen npm get fickle and fail a download, so my suggestion is to try again.

$ git clone [email protected]:spring-guides/tut-react-and-spring-data-rest.git
Cloning into 'tut-react-and-spring-data-rest'...
remote: Counting objects: 927, done.
remote: Total 927 (delta 0), reused 0 (delta 0), pack-reused 927
Receiving objects: 100% (927/927), 1.61 MiB | 1.68 MiB/s, done.
Resolving deltas: 100% (513/513), done.
Checking connectivity... done.
$ cd tut-react-and-spring-data-rest/
$ cd basic
$ ./mvnw spring-boot:run
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building React.js and Spring Data REST - Basic 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) > test-compile @ react-and-spring-data-rest-basic >>>
[INFO] 
[INFO] --- frontend-maven-plugin:0.0.24:install-node-and-npm (install node and npm) @ react-and-spring-data-rest-basic ---
[INFO] Installing node version v0.10.33
[INFO] Creating temporary directory /private/tmp/tut-react-and-spring-data-rest/basic/node_tmp
[INFO] Downloading Node.js from http://nodejs.org/dist/v0.10.33/node-v0.10.33-darwin-x64.tar.gz to /private/tmp/tut-react-and-spring-data-rest/basic/node_tmp/node.tar.gz
[INFO] No proxy was configured, downloading directly
[INFO] Extracting Node.js files in node_tmp
[INFO] Unpacking /private/tmp/tut-react-and-spring-data-rest/basic/node_tmp/node.tar.gz into /private/tmp/tut-react-and-spring-data-rest/basic/node_tmp
[INFO] Moving node binary to /private/tmp/tut-react-and-spring-data-rest/basic/node/node
[INFO] Deleting temporary directory /private/tmp/tut-react-and-spring-data-rest/basic/node_tmp
[INFO] Installed node locally.
[INFO] Installing npm version 1.3.8
[INFO] Downloading NPM from http://registry.npmjs.org/npm/-/npm-1.3.8.tgz to /private/tmp/tut-react-and-spring-data-rest/basic/npm.tar.gz
[INFO] No proxy was configured, downloading directly
[INFO] Extracting NPM files in node/
[INFO] Unpacking /private/tmp/tut-react-and-spring-data-rest/basic/npm.tar.gz into /private/tmp/tut-react-and-spring-data-rest/basic/node
[INFO] Installed NPM locally.
[INFO] 
[INFO] --- frontend-maven-plugin:0.0.24:npm (npm install) @ react-and-spring-data-rest-basic ---
[INFO] Running 'npm install --color=false' in /private/tmp/tut-react-and-spring-data-rest/basic/src/main/resources/static
[ERROR] npm WARN package.json [email protected] No README data
[ERROR] npm http GET https://registry.npmjs.org/babel-loader
[ERROR] npm http GET https://registry.npmjs.org/react
...
...
[INFO] 
[INFO] --- frontend-maven-plugin:0.0.24:webpack (webpack build) @ react-and-spring-data-rest-basic ---
[INFO] Running 'webpack.js --no-color' in /private/tmp/tut-react-and-spring-data-rest/basic/src/main/resources/static
[INFO] Hash: 64d532c18fb971535b64
[INFO] Version: webpack 1.12.14
[INFO] Time: 1653ms
[INFO]                 Asset    Size  Chunks             Chunk Names
[INFO]     ./built/bundle.js  783 kB       0  [emitted]  main
[INFO] ./built/bundle.js.map  937 kB       0  [emitted]  main
[INFO]     + 205 hidden modules
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ react-and-spring-data-rest-basic ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 5361 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ react-and-spring-data-rest-basic ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /private/tmp/tut-react-and-spring-data-rest/basic/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ react-and-spring-data-rest-basic ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /private/tmp/tut-react-and-spring-data-rest/basic/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ react-and-spring-data-rest-basic ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) < test-compile @ react-and-spring-data-rest-basic <<<
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) @ react-and-spring-data-rest-basic ---

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.3.3.RELEASE)

2016-03-14 10:10:14.709  INFO 34412 --- [           main] c.g.p.ReactAndSpringDataRestApplication  : Starting ReactAndSpringDataRestApplication on retina with PID 34412 (/private/tmp/tut-react-and-spring-data-rest/basic/target/classes started by gturnquist in /private/tmp/tut-react-and-spring-data-rest/basic)
...
...
2016-03-14 10:10:19.070  INFO 34412 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2016-03-14 10:10:19.124  INFO 34412 --- [           main] c.g.p.ReactAndSpringDataRestApplication  : Started ReactAndSpringDataRestApplication in 4.708 seconds (JVM running for 25.494)

from tut-react-and-spring-data-rest.

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.