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 







