Skip to content

Instantly share code, notes, and snippets.

@stephepush
Created March 10, 2021 05:03
Show Gist options
  • Save stephepush/44009f592ad720515f0ec760c69b8a7c to your computer and use it in GitHub Desktop.
Save stephepush/44009f592ad720515f0ec760c69b8a7c to your computer and use it in GitHub Desktop.
Nextjs console popos
user@pop-os:~/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site$ npm installnpm WARN deprecated mkdirp@0.5.3: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
> @ampproject/toolbox-optimizer@2.6.0 postinstall /home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/@ampproject/toolbox-optimizer
> node lib/warmup.js
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
AMP OPTIMIZER Downloaded latest AMP runtime data.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/webpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN bootstrap@4.6.0 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.6.0 requires a peer of popper.js@^1.16.1 but none is installed. You must install peer dependencies yourself.
npm WARN React-App-Learning-React-Hooks@1.0.0 No description
npm WARN React-App-Learning-React-Hooks@1.0.0 No repository field.
added 820 packages from 328 contributors and audited 822 packages in 30.798s
65 packages are looking for funding
run `npm fund` for details
found 3 vulnerabilities (2 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
user@pop-os:~/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site$ next
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://err.sh/next.js/react-version
event - compiled successfully
event - build page: /
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
event - build page: /
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
^Cuser@pop-os:~/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site$ ^C
user@pop-os:~/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site$ next build
warn - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://err.sh/next.js/react-version
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
[ ==] info - Generating static pages (0/5)
Error occurred prerendering page "/bootstrap". Read more: https://err.sh/next.js/prerender-error
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at S (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1921:327)
at module.exports.cKff.exports.useContext (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1925:269)
at Html (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1174:29)
at d (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
at bb (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
at a.b.render (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
at a.b.read (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
at exports.renderToStaticMarkup (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:51:446)
at renderDocument (/usr/local/lib/node_modules/next/dist/next-server/server/render.js:3:725)
at renderToHTML (/usr/local/lib/node_modules/next/dist/next-server/server/render.js:56:103)
Error occurred prerendering page "/404". Read more: https://err.sh/next.js/prerender-error
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Z (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:19:404)
at exports.useContext (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:24:261)
at Head (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/next/dist/next-server/lib/head.js:15:66)
at d (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
at bb (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
at a.b.render (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
at a.b.read (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
at exports.renderToString (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:52:138)
at Object.renderPage (/usr/local/lib/node_modules/next/dist/next-server/server/render.js:54:851)
at Function.getInitialProps (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1143:19)
Error occurred prerendering page "/500". Read more: https://err.sh/next.js/prerender-error
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Z (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:19:404)
at exports.useContext (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:24:261)
at Head (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/next/dist/next-server/lib/head.js:15:66)
at d (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
at bb (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
at a.b.render (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
at a.b.read (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
at exports.renderToString (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:52:138)
at Object.renderPage (/usr/local/lib/node_modules/next/dist/next-server/server/render.js:54:851)
at Function.getInitialProps (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1143:19)
[ ===] info - Generating static pages (3/5)
Error occurred prerendering page "/". Read more: https://err.sh/next.js/prerender-error
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Z (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:19:404)
at exports.useEffect (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:24:356)
at SignMeUp (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/index.js:2793:39)
at d (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
at bb (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
at a.b.render (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
at a.b.read (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
at exports.renderToString (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:52:138)
at Object.renderPage (/usr/local/lib/node_modules/next/dist/next-server/server/render.js:54:851)
at Function.getInitialProps (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1143:19)
[====] info - Generating static pages (3/5)
Error occurred prerendering page "/speakers". Read more: https://err.sh/next.js/prerender-error
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Z (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:19:404)
at exports.useState (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/node_modules/react/cjs/react.production.min.js:25:277)
at Speakers (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/speakers.js:3155:42)
at d (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
at bb (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
at a.b.render (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
at a.b.read (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
at exports.renderToString (/usr/local/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:52:138)
at Object.renderPage (/usr/local/lib/node_modules/next/dist/next-server/server/render.js:54:851)
at Function.getInitialProps (/home/user/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site/.next/server/pages/_document.js:1143:19)
info - Generating static pages (5/5)
> Build error occurred
Error: Export encountered errors on following paths:
/
/404
/500
/bootstrap
/speakers
at /usr/local/lib/node_modules/next/dist/export/index.js:30:1103
at process._tickCallback (internal/process/next_tick.js:68:7)
user@pop-os:~/Documents/03-More-React-Hooks-useContext-useReducer-useCallback-useMemo/clip04-Updating-Example-To-Full-Conf-Site$ next
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://err.sh/next.js/react-version
event - compiled successfully
event - build page: /
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
event - build page: /
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
event - build page: /
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
event - build page: /
wait - compiling...
event - compiled successfully
event - build page: /next/dist/pages/_error
wait - compiling...
event - compiled successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment