Version 22 new template project by XDE errors out

Hi! I am new to Expo, so bear with me if my lingo is not spot on.

Scenario: New Project (both templates) created by XDE is erroring out while running via XDE.

The error is created by the react packager with two errors:

(a) ‘.assets/icons/loading-icon.png’ could not be found because ‘./assets/icons’ is not a subdirectory of the roots
(b) - Cannot find module ‘…node-modules/’

package.json generated by XDE:

“name”: “template22”,
“version”: “0.0.0”,
“description”: “Hello Expo!”,
“author”: null,
“license”: “”,
“main”: “node_modules/expo/AppEntry.js”,
“scripts”: {
“test”: “node ./node_modules/jest/bin/jest.js --watch”
“jest”: {
“preset”: “jest-expo”
“dependencies”: {
"@expo/samples": “2.1.1”,
“expo”: “^22.0.0”,
“react”: “16.0.0-beta.5”,
“react-native”: “”,
“react-navigation”: “^1.0.0-beta.15”
“devDependencies”: {
“jest-expo”: “^22.0.0”

and app.json:

“expo”: {
“name”: “template22”,
“description”: “No description”,
“slug”: “template22”,
“privacy”: “public”,
“sdkVersion”: “22.0.0”,
“version”: “1.0.0”,
“orientation”: “portrait”,
“primaryColor”: “#cccccc”,
“icon”: “./assets/images/icon.png”,
“splash”: {
“image”: “./assets/images/splash.png”,
“resizeMode”: “contain”,
“backgroundColor”: “#ffffff
“packagerOpts”: {
“assetExts”: [“ttf”]
“ios”: {
“supportsTablet”: true

There were no issues with v21 of the SDK.

Desktop environment is Windows 10.

Could you advise when you have a chance? Happy to provide any more information.

Thank you!

hi @vpsq – sorry you are running into this problem.

i’m not totally sure what it is. did you install the command line tool exp? i wonder if there is possibly an old version of that around that is somehow colliding with your udpated version of stuff.

hi @ccheever - thanks for your reply. Here’s more troubleshooting info:

I did the following:

  • updated the Expo client app - which rightly pointed out that it needed to be updated to support react-native 0.49.
  • uninstalled, downloaded, and completely re-installed XDE. XDE is still version 2.21 on the website, not sure if this is an issue.
  • uninstalled exp CLI to prevent any collisions with XDE
  • completely deleted and recreated the template project.

These are my results on the react-packager side of things:

  • Error starting tunnel , starting tunnels timed out. Note that Windows firewall is completely disabled. In any event, I am testing from the LAN, so this is not that big of a deal. Nonetheless, v21 of the SDK was not giving me this problem.
  • The errors of app-icon.png (previous post) still persist

However, the template app is now rendered correctly on the Expo client and no errors on the device logs. That being said, the react packager errors are a little worrisome because I don’t know what else is not working correctly.

Btw - is there a way to find the different versions of react-native, react, the SDK etc?


Hi, same problem here…

Unhandled (in react-apollo), ApolloError@
- node_modules/react-apollo/react-apollo.browser.umd.js:547:42 in <unknown>
- ... 7 more stack frames from framework internals

In my case, the problem occurs if I try to use EXPO (Version 2.21.0) + Apollo 2.0 (apollo-client)
No problems when running the 1.4* version of apollo.

import { ApolloClient } from 'apollo-client';
import { ApolloLink } from 'apollo-link';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { createHttpLink } from 'apollo-link-http';
import { graphql, compose } from 'react-apollo';

OS: macOSHiSierra (10.13)


  "name": "",
  "version": "0.0.0",
  "description": "Hello Expo!",
  "author": null,
  "private": true,
  "main": "node_modules/expo/AppEntry.js",
  "dependencies": {
    "apollo-cache-inmemory": "^1.0.0",
    "apollo-client": "^2.0.1",
    "apollo-link-http": "^1.0.0",
    "expo": "^22.0.0",
    "graphql": "^0.11.7",
    "graphql-tag": "^2.5.0",
    "react": "16.0.0-beta.5",
    "react-apollo": "^2.0.0",
    "react-native": "",
    "react-native-elements": "^0.17.0",
    "react-navigation": "^1.0.0-beta.15",
    "shortid": "^2.2.8"