Skip to content
#

node

nodejs logo

Node.js is a tool for executing JavaScript in a variety of environments. JavaScript had humble beginnings as a language that lived only in web browsers, but the Node.js project has expanded its reach and helped make it the most popular programming language in the world. Node.js extends the creative potential of people with web development experience, enabling a new generation of developers to create servers, command-line tools, desktop apps, and even robots.

Here are 21,029 public repositories matching this topic...

next.js
LemonJuicer
LemonJuicer commented Nov 12, 2020

Bug report

Can't build or run page, throws error

Log:

C:\Users\Nizomidin\Desktop\with-apollo-and-redux>yarn build
yarn run v1.22.10
$ next build
info  - Creating an optimized production build
info  - Compiled successfully
info  - Collecting page data
[  ==] info  - Generating static pages (2/4)
Error occurred prerendering page "/apollo". Read more: https://err.sh/next.js/pr

前端面试每日 3+1,以面试题来驱动学习,提倡每日学习与思考,每天进步一点!每天早上5点纯手工发布面试题(死磕自己,愉悦大家),3000+道前端面试题全面覆盖,HTML/CSS/JavaScript/Vue/React/Nodejs/TypeScript/ECMAScritpt/Webpack/Jquery/小程序/软技能……

  • Updated Nov 22, 2020
  • JavaScript
verdaccio
pusherman
pusherman commented Jun 17, 2020

https://github.com/verdaccio/monorepo/blob/9.x/core/types/index.d.ts defines

type AuthAccessCallback = (error: string | null, access: boolean) => void;

interface IPluginAuth<T> extends IPlugin<T> {
  authenticate(user: string, password: string, cb: AuthCallback): void;
  adduser?(user: string, password: string, cb: AuthCallback): void;
  changePassword?(user: string, password: stri
ig3
ig3 commented Apr 22, 2020

Context

This isn't really a feature request, as what I need is possible with nock as-is. But I spent several hours searching, reading old issues and searching through the source code to find the solution, so I thought this might help others.

I am testing code that accesses a service that sets the statusMessage of the response, as well as the statusCode. I am using nock to mock the server

pnpm

Created by Ryan Dahl

Released May 27, 2009

Organization
nodejs
Website
nodejs.org/en
Wikipedia
Wikipedia
You can’t perform that action at this time.