You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
Hi! I'm trying to prerender the CRA-example from this repository: examples/create-react-app/
But during build process i get this mistake.
And i get the same mistake while prerendering apps using react-snap and react-snapshot solutions.
So the problem must be on my side. Any suggestions how to fix this?
TypeError: Cannot read property 'close' of null
at PuppeteerRenderer.destroy (D:*\prerender-spa-plugin example create-react-app\node_modules
@prerenderer\renderer-puppeteer\es6\renderer.js:140:21)
at Prerenderer.destroy (D:*\prerender-spa-plugin example create-react-app\node_modules@prere
nderer\prerenderer\es6\index.js:87:20)
at D:***\prerender-spa-plugin example create-react-app\node_modules\prerender-spa-plugin\es6\in
dex.js:144:29
at processTicksAndRejections (internal/process/task_queues.js:95:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: react-app-rewired build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi! I'm trying to prerender the CRA-example from this repository: examples/create-react-app/
But during build process i get this mistake.
And i get the same mistake while prerendering apps using react-snap and react-snapshot solutions.
So the problem must be on my side. Any suggestions how to fix this?
Here's the log:
`Creating an optimized production build...
ErrorEvent {
target: WebSocket {
_events: [Object: null prototype] { open: [Function], error: [Function] },
_eventsCount: 2,
_maxListeners: undefined,
readyState: 3,
protocol: '',
_binaryType: 'nodebuffer',
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: '',
_closeTimer: null,
_closeCode: 1006,
_extensions: {},
_isServer: false,
_receiver: null,
_sender: null,
_socket: null,
url: 'ws://127.0.0.1:60627/devtools/browser/24798c81-2a9d-495e-9f24-ebfce2b17136',
_req: null,
[Symbol(kCapture)]: false
},
type: 'error',
message: 'connect ETIMEDOUT 127.0.0.1:60627',
error: Error: connect ETIMEDOUT 127.0.0.1:60627
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '127.0.0.1',
port: 60627
}
}
[Prerenderer - PuppeteerRenderer] Unable to start Puppeteer
D:***\prerender-spa-plugin example create-react-app\node_modules\react-scripts\scripts\build.js:19
throw err;
^
TypeError: Cannot read property 'close' of null
at PuppeteerRenderer.destroy (D:*\prerender-spa-plugin example create-react-app\node_modules
@prerenderer\renderer-puppeteer\es6\renderer.js:140:21)
at Prerenderer.destroy (D:*\prerender-spa-plugin example create-react-app\node_modules@prere
nderer\prerenderer\es6\index.js:87:20)
at D:***\prerender-spa-plugin example create-react-app\node_modules\prerender-spa-plugin\es6\in
dex.js:144:29
at processTicksAndRejections (internal/process/task_queues.js:95:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:
react-app-rewired build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
The text was updated successfully, but these errors were encountered: