menu

Node.js

A Spectrum community for Node.js ✨🐢🚀✨

Channels
# All channels
view-forward
# general
view-forward
# community
view-forward
# help
view-forward
# jobs
view-forward
# projects
view-forward
Team
Posts
Members
Info

Got stucked!!!

Hey guys, how do I generate an API key for authenticated users? This API key will display on their dashboard whenever they log in. I intend to achieve this with Node & GraphQL.

thumbsup
0
message-simple
1

Node js: UnauthorizedError: invalid signature

I'm having this error in the backend of my application, I think it's because of express-jwt exactly in my secret. whenever I try to create a new category the error appears. …

thumbsup
1
message-simple
0

cookie

I am using node js , stripe and cookie. At which moment can I delete items from my card saved in a cookie after a purchase?

thumbsup
0
message-simple
0

Got stucked!

hi guys. I have npm library which makes a GET request using node-fetch. I am using that library in a vuejs app. The problem is, when that API gets called, I get this error in the console. TypeError: 'fetch' called on an object that does not implement interface Window. I have…

thumbsup
0
message-simple
1

Nodemon wouldn't restart.

Hey guys, nodemon display this error "clean exit - waiting for changes before restart" and it wouldn't restart the node application. I am not using express. Is nodemon required to work only on a server?

thumbsup
0
message-simple
3

help need #help #sequelize

let productsToAdd= [{ qty: 2, ProducId: 1}, {qty: 2, ProducId: 1}, {qty: 2, ProducId: 1}] let t = sequelize.transaction Promise.all(productsToAdd.map(row => { …

thumbsup
0
message-simple
2

Help absolute import typescript Node

Good morning, I need help please, I don't know why the module doesn't recognize me, yes, this is my tsconfig configuration { "compilerOptions": { …

thumbsup
0
message-simple
1

Node JS Modules related doubt

Someone pls let me know do i need to know all node modules as per docs before i apply for node js jobs or http, https, url, path and filesystem along with express is enough

thumbsup
0
message-simple
1

Hi Team, I'm facing issue in a unit test. This stub is not working.

//fileundertest.js const pubsub = require('./pubsub.js); class A{ …

thumbsup
0
message-simple
0

Error in nodemon

Hey guys I am unable to solve the error of npm [email protected] on windows... I have installed it but script is not getting executed. It is showing me... PS C:\Users\ASPIRE 3 (220007)\Desktop\node-course\notes-app> nodemon app2.js …

thumbsup
0
message-simple
5