lamosty / lexi Goto Github PK
View Code? Open in Web Editor NEWA single-page WP React, Redux, React Router, WP REST API theme.
Home Page: https://lamosty.com/2015/09/react-single-page-wordpress-rest-api-theme-tutorial/
License: MIT License
A single-page WP React, Redux, React Router, WP REST API theme.
Home Page: https://lamosty.com/2015/09/react-single-page-wordpress-rest-api-theme-tutorial/
License: MIT License
I've got this error message
Microsoft Windows Version 6.3.9600 2013 Microsoft Corporation. All rights reserved.
B:\xampp\apps\wordpress\htdocs\wp-content\themes>cd lexi
B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi>npm start
[email protected] start B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi
npm run build && node server.js[email protected] build B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi
npm run clean && webpack[email protected] clean B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi
rm -rf dist
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "B:\nodejs\node.exe" "B:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "clean"
npm ERR! node v5.4.0
npm ERR! npm v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! [email protected] clean: rm -rf dist
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] clean script 'rm -rf dist'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Lexi-WP-Theme package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! rm -rf dist
npm ERR! You can get their info via:
npm ERR! npm owner ls Lexi-WP-Theme
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi\npm-debug.log
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "B:\nodejs\node.exe" "B:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v5.4.0
npm ERR! npm v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: npm run clean && webpack
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'npm run clean && webpack'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Lexi-WP-Theme package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run clean && webpack
npm ERR! You can get their info via:
npm ERR! npm owner ls Lexi-WP-Theme
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi\npm-debug.log
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "B:\nodejs\node.exe" "B:\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v5.4.0
npm ERR! npm v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: npm run build && node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'npm run build && node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Lexi-WP-Theme package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build && node server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls Lexi-WP-Theme
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi\npm-debug.log
B:\xampp\apps\wordpress\htdocs\wp-content\themes\lexi>
Having followed directions, I still am not able to get this working. I was running into an issue where babel-core wasn't installed.Now I'm not getting those errors. I'm just getting a message saying that Cannot GET /about
.
Is there a schedule on completing this theme? I'm excited to see it finished as a WP theme with functions.php
I think I followed the instructions correctly, as I do have the hello world post showing.
I then created an About page with slug about
, but when I click on /about i still get the main blog list. Note that I am using multisite, and the page is to be found at http://localhost/<newwork_name>/about/
, although I can't see why that would mess up wp-json if other posts show.
Hi,
I like this project a lot and then I read this in the readme:
Notice: The project is probably outdated as I haven't maintained it in a while and these
technologies tend to move fast.
It was created just for learning purpose and it has accomplished that goal for me.
If something doesn't work, throws errors, things like that, try to find the culprit
and fix it yourself. It's a good training exercise. PRs are welcome.
Are there any wordpress themes for production use or plans to bring lexi into production?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.