menu

JS Everywhere

A community for the JavaScript Everywhere book by Adam Scott, published by O'Reilly.

Channels
Team
Posts
Members
Info

GraphQL Playground signIn error

Receiving errors message: "data and hash arguments required" at Object.compare when I try to test: mutation{ signIn ( …

thumbsup
1
message-simple
17

Chapter 15. Web Authentication and State - issue with cache.writeData

Hello, I have a little problem with cache.writeData and I don't know how to handle it. I implementing the Sign-Up form (around 177 page). in the file …

thumbsup
1
message-simple
26

MongoDB for VS Code

Hi! Yesterday I noticed a new MongoDB extension was released for VS Code. I played with it a little bit and appears to work well. It's easy to configure and lets you to manage the data visually. …

thumbsup
0
message-simple
1

Problem with mongoose.connect

I receive an error message stating it is expecting a string in mongoose.connect(). Should I add my local host in a string or use DB_HOST connect to my .env file? C:\Users\qu0es\Desktop\Projects\notedly\node_modules\mongoose\lib\connection.js:541 throw new MongooseError('The uri…

thumbsup
2
message-simple
2

Doubt about using gravatar - CH 7

Hi @adamdscott ! I just start to read your book, I've learned a lot! In chapter #7 you use a gravatar library. My question is: why not to use gravatar package in npm? What are the disavantages of use npm package gravatar (https://www.npmjs.com/package/gravatar) against the…

thumbsup
0
message-simple
2

Private Route not pushing to "/dashboard" on Sign In.

Hi all, This is a weird one. My private route is broken, but I don't understand why as I copied the code, and it worked a few days ago. …

thumbsup
0
message-simple
0

Expo App setup does not work out of the box

Hey all, :) I started working on Chapter 21 (Mobile Apps with React Native) today and can't get the Expo App run as expected (neither on my physical iOS device nor on the Simulator). The app shows the error message "The experience you requested uses Expo SDK v(null), but this…

thumbsup
0
message-simple
4

useQuery(GET_ME) returns undefined randomly...

Hi all, I trust this message finds you all well despite possible quarantine restrictions wherever you are from. I have been enjoying a lot the textbook and quite surprisingly, I have been able to go through it without making too much of a mess. That was until I reached the Edit…

thumbsup
0
message-simple
13

some one have a guide to deploy on heroku in a successfull way?

I get errors related to graphql apollo server instead of continue trying use heroku I changed to Kintohub... I think is a good option (still is beta)

thumbsup
0
message-simple
17

Different Mongoose schema for different type of app?

Hi Adam! I've been following the example in the book up to ch. 15 and I'm really liking it (no issues for me)! After this one I might try to create a kind of Todo app ("Trello-ish") (with register, login...). Am I right in thinking that the big change is in the mongoose schema…

thumbsup
0
message-simple
5