sjalkote / web-testing Goto Github PK
View Code? Open in Web Editor NEWA dev repository for experimenting with web frameworks and technologies.
Home Page: https://zetasj.com
A dev repository for experimenting with web frameworks and technologies.
Home Page: https://zetasj.com
The linter raises the following warning at 24:17
โ
Warning: External synchronous scripts are forbidden.
See: https://nextjs.org/docs/messages/no-sync-scripts@next/next/no-sync-scripts
This is due to a third party script from FontAwesome, which is used for icons such as the rocket icon in the deployment card:
The current method of loading the script could impact the webpage's performance.
The following error is raised when localhost:3000
is used to fetch JSON data in getStaticProps({ params })
and getStaticPaths()
:
> FetchError: request to http://localhost:3000/projects.json failed, reason: connect ECONNREFUSED 127.0.0.1:3000
at ClientRequest.<anonymous> (...\web-testing\node_modules\next\dist\compiled\node-fetch\index.js:1:64142)
at ClientRequest.emit (node:events:390:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED'
}
This is raised because the data source is the server itself, which is offline during build. The data is not being served during build, and as a result the build is unable to retrieve the data for static site generation.
The solution is to implement a reliable (and preferably easy-to-use) data source, like another folder hosted on another server instance, which can be updated by editing the files and rebuilding the Next.js server.
As of commit 06f6d00 in web-testing/dev
, the deployments button does not have link functionality, though the <a href="">
is present.
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.