Comments (1)
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)
- Modification in app is not reflected. HOT 3
- Conditional lacks the require('when') to run in app.js HOT 1
- My own version does not display entities in the table
- Typo on basic/README.adoc HOT 1
- Can not run the project on Spring Source Tool Suite. HOT 4
- Part 1 tutorial does not mention how to bootstrap/inject React into the project HOT 6
- Part 2 - Hypermedia Controls - Paging from frontend react not working HOT 3
- When not defined / rest.js review
- Executing goal indstall-node-and-npm error HOT 2
- Missing Links HOT 1
- Subsequent update to first name creates a new 'firstName' row for an employee when first and last match.
- React isn't rendering employee list after logging in with manager account HOT 7
- Copied all source, but nothing rendering in browser HOT 1
- Cannot resolve plugin com.github.eirslett:frontend-maven-plugin:<unknown> HOT 2
- Update this project so that it doesn't lose its cool features but stays in line with new packages
- how to add axios in package.json HOT 1
- Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-npm (install node and npm) on project react-and-spring-data-rest-basic: Could not download Node.js:
- create dialogue component
- Source code does not render in browser
- If anybody needs this tutorial working with latest (March 2024) Spring Boot 3.2.3 and React 18.2.0... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tut-react-and-spring-data-rest.