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/expo.tools.hashAssetFiles’
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”: “https://github.com/expo/react-native/archive/sdk-22.0.1.tar.gz”,
“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!