Just getting started with expo.
am on:
- win 10 Home x64
- node v8.3.1
- npm v5.3.0
I did:
- started XDE
- create new project
- selected tab-navigation
- waited till finish
- attempted to run tests
did npm test
got
‘node_modules’ is not recognized as an internal or external command,
operable program or batch file.
modified package.json so that
"test": "node_modules/jest/bin/jest.js",
becomes
"test": "jest/bin/jest.js",
run npm test
again
got
PS C:\Expo Projects\test-nav> npm test
> test-nav@0.0.0 test C:\Expo Projects\test-nav
> jest/bin/jest.jsNo tests found
In C:\Expo Projects\test-nav
changed pacakge.json again
"test": "node ./node_modules/jest/bin/jest.js",
now get a failure. relevant failure is:
FAIL __tests__\App-test.js
● Test suite failed to runCannot find module ‘./PlatformHelpers’ from ‘createNavigationContainer.js’
at Resolver.resolveModule (node_modules/jest/node_modules/jest-resolve/build/index.js:179:17) at Object.<anonymous> (node_modules/react-navigation/src/createNavigationContainer.js:39:214)
Is this:
- Just a pathing issue because stupid windows?
- Have i forgotten a node/npm/expo config somewhere?
thanks