npm run setup error after clone kentcdodds.com
shirejoni opened this issue · 2 comments
shirejoni commented
Hi i clone the repository and after copy .env .development to .env and running on terminal
npm run setup
after npm install and pass some test
it shows this error i don't know why:
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle:
The following error appeared while processing 'https://twitter.com/kentcdodds/status/954508165076455424':
request to https://publish.twitter.com/oembed?url=https://twitter.com/kentcdodds/status/954508165076455424&dnt=true&omit_script=true failed, reason: Client network socket disconnected before secure TLS connection was established
FetchError: The following error appeared while processing 'https://twitte r.com/kentcdodds/status/954508165076455424':
request to https://publish.twitter.com/oembed?url=https://twitter.com/ken tcdodds/status/954508165076455424&dnt=true&omit_script=true failed, reaso n: Client network socket disconnected before secure TLS connection was es tablished
- index.js:1455 ClientRequest.<anonymous>
[kentcdodds.com]/[gatsby-remark-embedder]/[node-fetch]/lib/index.js:145 5:11
- destroy.js:84 emitErrorNT
internal/streams/destroy.js:84:8
- task_queues.js:84 processTicksAndRejections
internal/process/task_queues.js:84:21
not finished source and transform nodes - 130.049s
not finished Generating image thumbnails - 117.441s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kentcdodds.com@1.0.5 build: `gatsby build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kentcdodds.com@1.0.5 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/shirejoni/.npm/_logs/2020-04-09T10_15_53_809Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kentcdodds.com@1.0.5 validate: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kentcdodds.com@1.0.5 validate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/shirejoni/.npm/_logs/2020-04-09T10_15_53_893Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kentcdodds.com@1.0.5 setup: `npm install && npm run validate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kentcdodds.com@1.0.5 setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/shirejoni/.npm/_logs/2020-04-09T10_15_54_036Z-debug.log
the complete terminal outPut:
> kentcdodds.com@1.0.5 setup /home/shirejoni/Projects/JSProjects/kentcdodds.com
> npm install && npm run validate
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 23.662s
160 packages are looking for funding
run `npm fund` for details
> kentcdodds.com@1.0.5 validate /home/shirejoni/Projects/JSProjects/kentcdodds.com
> npm run build
> kentcdodds.com@1.0.5 build /home/shirejoni/Projects/JSProjects/kentcdodds.com
> gatsby build
success open and validate gatsby-configs - 0.098s
success load plugins - 0.827s
success onPreInit - 0.006s
success delete html and css files from previous builds - 0.011s
success initialize cache - 0.016s
success copy gatsby files - 0.023s
⠋ onPreBootstrap
> kentcdodds.com@1.0.5 lint /home/shirejoni/Projects/JSProjects/kentcdodds.com
> eslint .
> kentcdodds.com@1.0.5 test:coverage /home/shirejoni/Projects/JSProjects/kentcdodds.com
> jest --coverage
PASS content/blog/how-to-test-custom-react-hooks/__tests__/use-undo.rthl.js
PASS content/blog/how-to-test-custom-react-hooks/__tests__/use-undo.real-world.js
PASS content/blog/how-to-test-custom-react-hooks/__tests__/use-undo.helper.js
PASS src/components/search/__tests__/match-sorter.worker.js
PASS content/blog/fix-the-not-wrapped-in-act-warning/__tests__/components.js
PASS content/blog/fix-the-not-wrapped-in-act-warning/__tests__/timers.js
PASS src/components/forms/__tests__/subscribe.js
PASS content/blog/fix-the-not-wrapped-in-act-warning/__tests__/custom-hooks.js
PASS content/blog/fix-the-not-wrapped-in-act-warning/__tests__/use-imperative-handle.js
--------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------|---------|----------|---------|---------|-------------------
All files | 69.05 | 45.07 | 48.57 | 70 |
config | 100 | 100 | 100 | 100 |
theme.js | 100 | 100 | 100 | 100 |
...t-warning | 25 | 25 | 25 | 25 |
api.js | 0 | 100 | 0 | 0 | 2
...nents.js | 25.81 | 25 | 28.57 | 25.81 | ...43,47,49,77,95
...act-hooks | 85 | 54.55 | 87.5 | 91.43 |
...ample.js | 100 | 100 | 100 | 100 |
use-undo.js | 82.35 | 54.55 | 83.33 | 89.66 | 50,57,78
...omponents | 20 | 0 | 0 | 20 |
link.js | 20 | 0 | 0 | 20 | 5,7,8,15
...m-message | 95.45 | 0 | 0 | 95.45 |
...tions.js | 100 | 100 | 100 | 100 |
message.js | 66.67 | 0 | 0 | 66.67 | 17
...nts/forms | 54.84 | 59.26 | 36.36 | 54.84 |
...cribe.js | 54.84 | 59.26 | 36.36 | 54.84 | ...59,167,169,170
...ts/search | 86.36 | 75 | 60 | 89.47 |
...orker.js | 86.36 | 75 | 60 | 89.47 | 7,41
src/lib | 100 | 50 | 100 | 100 |
...oints.js | 100 | 100 | 100 | 100 |
...raphy.js | 100 | 50 | 100 | 100 | 59
--------------|---------|----------|---------|---------|-------------------
Test Suites: 9 passed, 9 total
Tests: 13 passed, 13 total
Snapshots: 0 total
Time: 3.765s, estimated 6s
success onPreBootstrap - 7.047s
success createSchemaCustomization - 0.005s
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle:
The following error appeared while processing 'https://twitter.com/kentcdodds/status/954508165076455424':
request to https://publish.twitter.com/oembed?url=https://twitter.com/kentcdodds/status/954508165076455424&dnt=true&omit_script=true failed, reason: Client network socket disconnected before secure TLS connection was established
FetchError: The following error appeared while processing 'https://twitte r.com/kentcdodds/status/954508165076455424':
request to https://publish.twitter.com/oembed?url=https://twitter.com/ken tcdodds/status/954508165076455424&dnt=true&omit_script=true failed, reaso n: Client network socket disconnected before secure TLS connection was es tablished
- index.js:1455 ClientRequest.<anonymous>
[kentcdodds.com]/[gatsby-remark-embedder]/[node-fetch]/lib/index.js:145 5:11
- destroy.js:84 emitErrorNT
internal/streams/destroy.js:84:8
- task_queues.js:84 processTicksAndRejections
internal/process/task_queues.js:84:21
not finished source and transform nodes - 130.049s
not finished Generating image thumbnails - 117.441s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kentcdodds.com@1.0.5 build: `gatsby build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kentcdodds.com@1.0.5 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/shirejoni/.npm/_logs/2020-04-09T10_15_53_809Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kentcdodds.com@1.0.5 validate: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kentcdodds.com@1.0.5 validate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/shirejoni/.npm/_logs/2020-04-09T10_15_53_893Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kentcdodds.com@1.0.5 setup: `npm install && npm run validate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kentcdodds.com@1.0.5 setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/shirejoni/.npm/_logs/2020-04-09T10_15_54_036Z-debug.log
shirejoni commented
Nobody?
kentcdodds commented
Sorry, there's no support offering in this project.