arn4v / covid-resources Goto Github PK
View Code? Open in Web Editor NEWNext.js based Covid 19 Twitter Resources Aggregator for India
Home Page: covidresources.vercel.app
Next.js based Covid 19 Twitter Resources Aggregator for India
Home Page: covidresources.vercel.app
After adding firebase credentials, getting build error
`info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
[ ==] info - Generating static pages (0/3)
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at getStaticProps (/home/bhavya/IdeaProjects/covid/covid-resources/.next/server/pages/index.js:3212:22)
at process._tickCallback (internal/process/next_tick.js:68:7)
info - Generating static pages (3/3)
Build error occurred
Error: Export encountered errors on following paths:
/
at nextExportSpan.traceAsyncFn (/home/bhavya/IdeaProjects/covid/covid-resources/node_modules/next/dist/export/index.js:31:1106)
at process._tickCallback (internal/process/next_tick.js:68:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:next 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.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/bhavya/.npm/_logs/2021-05-08T19_11_05_341Z-debug.log`
Detailed logs
0 info it worked if it ends with ok
1 verbose cli [ '/home/bhavya/.nvm/versions/node/v10.21.0/bin/node',
1 verbose cli '/home/bhavya/.nvm/versions/node/v10.21.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]prebuild: [email protected]build: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]build: unsafe-perm in lifecycle truebuild: PATH: /home/bhavya/.nvm/versions/node/v10.21.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/bhavya/IdeaProjects/covid/covid-resources/node_modules/.bin:/home/bhavya/.deno/bin:/usr/lib/jvm/jdk1.8.0_221/bin:/home/bhavya/Android/Sdk/emulator:/home/bhavya/Android/Sdk/tools:/home/bhavya/Android/Sdk/platform-tools:/home/bhavya/Android/Sdk/tools/bin:/home/bhavya/.deno/bin:/usr/lib/jvm/jdk1.8.0_221/bin:/home/bhavya/Android/Sdk/emulator:/home/bhavya/Android/Sdk/tools:/home/bhavya/Android/Sdk/platform-tools:/home/bhavya/Android/Sdk/tools/bin:/home/bhavya/.sdkman/candidates/groovy/current/bin:/home/bhavya/.sdkman/candidates/gradle/current/bin:/home/bhavya/.nvm/versions/node/v10.21.0/bin:/home/bhavya/.npm-global/bin:/home/bhavya/bin:/home/bhavya/.local/bin:/opt/maven/bin:/usr/lib/jvm/jdk1.8.0_221/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/jdk1.8.0_151/bin:/usr/lib/jvm/jdk1.8.0_151/db/bin:/usr/lib/jvm/jdk1.8.0_151/jre/bin:/opt/Postman/:/snap/bin:/usr/local/go/bin:/home/bhavya/work/bin:/usr/spark/spark-2.4.6-bin-hadoop2.7/bin:/usr/local/hadoop/bin:/usr/share/logstash/bin:/usr/spark/spark-2.4.6-bin-hadoop2.7/bin:/usr/local/hadoop/bin:/usr/share/logstash/bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]build: CWD: /home/bhavya/IdeaProjects/covid/covid-resourcesbuild: Args: [ '-c', 'next build' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]build: Returned: code: 1 signal: nullbuild: Failed to exec build script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] build: next build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/home/bhavya/.nvm/versions/node/v10.21.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/home/bhavya/.nvm/versions/node/v10.21.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/bhavya/IdeaProjects/covid/covid-resources
16 verbose Linux 5.4.0-72-generic
17 verbose argv "/home/bhavya/.nvm/versions/node/v10.21.0/bin/node" "/home/bhavya/.nvm/versions/node/v10.21.0/bin/npm" "run" "build"
18 verbose node v10.21.0
19 verbose npm v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: next build
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
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.