the-diamondback-lab / dbkredux Goto Github PK
View Code? Open in Web Editor NEWThe front-end to The DBK's main website - powered by React and Next.js.
Home Page: https://dbknews.com
The front-end to The DBK's main website - powered by React and Next.js.
Home Page: https://dbknews.com
Describe the bug
After running the command now
in the terminal, I receive the following error:
> Error! Build failed
> Error! Check your logs at https://dbk-frontend-7vs138sqx.now.sh/_logs or run `now logs dbk-frontend-7vs138sqx.now.sh`
To Reproduce
Steps to reproduce the behavior:
now
in the project rootExpected behavior
The project should be built and a unique url to view the project should be generated.
Additional context
Attempted this fix: https://github.com/zeit/now-builders/issues/155#issuecomment-452057544
Logs from https://zeit.co/the-diamondback-lab/dbk-frontend/7vs138sqx
yarn info @now/build-utils@latest...
yarn info @now/next...
missing `engines` in `package.json`, using default range: 8.10.x
installing to /tmp/3c02bf36
yarn install v1.17.3
info No lockfile found.
[1/4] Resolving packages...
warning html-react-parser > react-dom-core > react > fbjs > [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@zeit/next-css > [email protected]" has unmet peer dependency "webpack@^4.0.0".
warning "@zeit/next-css > [email protected]" has unmet peer dependency "webpack@^4.4.0".
warning "@zeit/next-sass > [email protected]" has unmet peer dependency "webpack@^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0".
warning "next-ga > [email protected]" has unmet peer dependency "prop-types@^15.6.0".
warning " > [email protected]" has unmet peer dependency "prop-types@>=15".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 64.80s.
running "yarn run now-build"
yarn run v1.17.3
$ next build
[18:04:12] Compiling client
[18:04:12] Compiling server
[18:04:19] Compiled server in 7s
[18:04:38] Compiled client in 26s
Done in 27.85s.
Found next.config.js:
module.exports = function(...args) {
let original = require('./next.config.original.1567793050287.js');
const finalConfig = {};
const target = { target: 'serverless' };
if (typeof original === 'function' && original.constructor.name === 'AsyncFunction') {
// AsyncFunctions will become promises
original = original(...args);
}
if (original instanceof Promise) {
// Special case for promises, as it's currently not supported
// and will just error later on
return original
.then((orignalConfig) => Object.assign(finalConfig, orignalConfig))
.then((config) => Object.assign(config, target));
} else if (typeof original === 'function') {
Object.assign(finalConfig, original(...args));
} else if (typeof original === 'object') {
Object.assign(finalConfig, original);
}
Object.assign(finalConfig, target);
return finalConfig;
}
Error: No serverless pages were built. https://err.sh/zeit/now/now-next-no-serverless-pages-built
at Object.module.exports.178.exports.build (/tmp/396dbae88ede4a65/.build-utils/.builder/node_modules/@now/next/dist/index.js:4113:19)
at <anonymous>
worker exited with code 20 and signal null
done
done
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.