- Birthday Reminder
- Tours
- Reviews
- Accordion
- Menu
- Tabs
- Slider
- Lorem Ipsum Generator
- Color Shades Generator
- Grocery Bud
- Navbar
- Modal and Sidebar
- Stripe Menus
- Cart
I cloned this git repository into a folder then ran npm install && npm start
and got all kinds of errors and I am not sure why. Up until now in the react course everything was working just fine
Deleting some lines gets the file to match whats is displayed on 6:50:32
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/webdev/react-advanced-2020/node_modules/.bin:/home/webdev/.JSlib/bin:/home/webdev/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]start: CWD: /home/webdev/react-advanced-2020start: Args: [ '-c', 'react-scripts start' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]start: Returned: code: 1 signal: nullstart: Failed to exec start script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] start: react-scripts start
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1022:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/webdev/react-advanced-2020/src
16 verbose Linux 4.19.0-11-amd64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
18 verbose node v12.20.0
19 verbose npm v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: react-scripts start
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js
https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
[email protected] postinstall /Users/m***/Desktop/reactApp/react-advanced-2020-master/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"
[email protected] postinstall /Users/m***/Desktop/reactApp/react-advanced-2020-master/node_modules/core-js-pure
node -e "try{require('./postinstall')}catch(e){}"
added 1638 packages from 798 contributors and audited 1638 packages in 17.264s
67 packages are looking for funding
run npm fund
for details
found 2 high severity vulnerabilities
run npm audit fix
to fix them, or npm audit
for details`
Just a point of clarification... In this part of the video: https://youtu.be/4UZrsTqkcW4?t=30845 it is stated that the fetch would re-execute anytime the url
changed. However, the url
that is passed into the useFetch
hook is a plain javascript variable that was not setup by useState
. I believe that the only way that useEffect
would be able to detect a change to the url
parameter is if the url
parameter itself was setup using useState
from the caller function.
Also in the video there is no mention of the useCallback
hook, yet in 9-custom-hooks/final/2-useFetch.js
it is used.
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.