KimberlyBrooke
Error compiling Front-end React-Apollo code in course by Pragmatic Studio
Hello I am just starting my front-end React-Apollo app with pragmatic studio and when I went through the instructions which are the following, I ended up getting the following error:
**error I am getting : **
‘’'Failed to compile.
./node_modules/graphql-tag/lib/index.js
Module not found: Can’t resolve ‘graphql’ in ‘/Users/kimberlybrooke/Downloads/pragstudio-unpacked-graphql-code/getaways/frontend/node_modules/graphql-tag/lib’
‘’’
Instructions I followed:
‘’’
To start the frontend React app:
- In a separate terminal session, change into the
getaways/frontenddirectory:
cd getaways/frontend
- Next, install the NPM package dependencies:
npm install
You’ll see some warnings from external packages. It’s nothing to worry about.
3. Now you’re ready to start the development server:
npm start
- And now if you browse to http://localhost:3000/ you should see all the vacation places listed on the home page of the Getaways app!
‘’’
First Post!
kokolegorille
Try to go into getaways/frontend, and run…
npm outdated
js is always moving fast, and it’s hard to follow ![]()
Last Post!
sundevilyang
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









