Comments (2)
Hi - thanks for the message.
This error occurs when trying to run an 'open' command on a PC. To resolve this issue, we just updated the repository to add the opener npm package, which will work on PC and Mac.
To resolve, you can do one of the following:
Option 1: Install opener package in the project
- You can run
npm install --save-dev opener
. - Change the "start" command to
"start": "opener http://localhost:3000 & httpster -p 3000 -d ./dist"
.
Option 2: Copy the new package.json
- Copy this package.json file into the color organizer project.
- Delete the node_modules folder.
- Run
npm install && npm start
.
Let me know if any other questions come up.
from learning-react.
thanks a lot
I have installed the opener package in the project and runs Ok
from learning-react.
Related Issues (20)
- Invalid links (inactive)
- Ch8 - Parallel requests files HOT 9
- Missing links in Chapter 10 HOT 2
- Chapter 3 - Compose function
- Ch9 p202 and p203
- Chapter 8 Fetch Component HOT 1
- [Book] Chapter 3 - page 55 - missing brackets in prependZero function
- Chap 8: Incorporating React Markdown
- Chapter 5 code does not work for React18
- chapter 8: repository menu carousel
- Chapter 4 / items is not defined HOT 2
- Missing `await` in async example. HOT 3
- Minor inconsistency in chapter 06 file name HOT 1
- useEffect Sample with new react version misbehaves HOT 2
- RepositoryReadme component doesn't work HOT 2
- Ch 2 Async Snippet Returns Undefined HOT 3
- No 'first-edition' branch found HOT 2
- Running Example of Color Organizer download HOT 1
- Ch4 - 01-components.html - div id name
- CH 12- invalid links(inactive)
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 learning-react.