Comments (6)
from react-native-mock.
This doesnt look like you're installing my package. The official package is at react-native-mock
rather than @jonny/react-native-mock
. Are you intentionally trying to install a fork?
from react-native-mock.
This error looks like you're looking for the wrong fork. The official one works (not necessarily with that version of react-native), and has the required build directory. This issue is likely because youre trying the wrong package name of the fork, this isn't to do with this project, or even this repo
from react-native-mock.
Thank you and is your official library works with 0.48.4 RN version. I see there is lot of dependencies missing.
from react-native-mock.
Sorry to bother you guys but npm view gives me only 0.3.1
LM-SJN-00877623:driver-android rnagulapalle$ npm view react-native-mock
{ name: 'react-native-mock',
description: 'A fully mocked and test-friendly version of react native',
'dist-tags': { latest: '0.3.1' },
versions:
[ '0.0.1',
'0.0.2',
'0.0.3',
'0.0.4',
'0.0.5',
'0.0.6',
'0.0.7',
'0.1.0',
'0.2.0',
'0.2.1',
'0.2.2',
'0.2.3',
'0.2.4',
'0.2.5',
'0.2.6',
'0.2.7',
'0.2.8',
'0.2.9',
'0.3.0',
'0.3.1' ],
maintainers:
[ 'intelligibabble [email protected]',
'theorangeone [email protected]' ],
time:
{ modified: '2017-02-03T19:52:04.086Z',
created: '2016-01-31T19:13:49.165Z',
'0.0.1': '2016-01-31T19:13:49.165Z',
'0.0.2': '2016-02-03T04:01:27.275Z',
'0.0.3': '2016-02-03T04:06:53.409Z',
'0.0.4': '2016-02-07T01:59:41.094Z',
'0.0.5': '2016-02-07T03:05:27.546Z',
'0.0.6': '2016-02-15T17:11:33.219Z',
'0.0.7': '2016-03-16T16:13:32.983Z',
'0.1.0': '2016-05-10T03:16:59.030Z',
'0.2.0': '2016-05-22T16:50:29.991Z',
'0.2.1': '2016-05-26T08:20:55.549Z',
'0.2.2': '2016-05-26T09:29:44.958Z',
'0.2.3': '2016-06-07T06:12:32.846Z',
'0.2.4': '2016-06-30T08:18:50.956Z',
'0.2.5': '2016-07-20T23:13:23.145Z',
'0.2.6': '2016-08-18T09:45:13.922Z',
'0.2.7': '2016-10-07T09:41:36.427Z',
'0.2.8': '2016-11-20T21:04:44.894Z',
'0.2.9': '2016-11-28T17:27:35.705Z',
'0.3.0': '2017-02-03T14:36:57.982Z',
'0.3.1': '2017-02-03T19:52:04.086Z' },
homepage: 'https://github.com/RealOrangeOne/react-native-mock#readme',
keywords: [ 'react', 'react-native', 'mock', 'testing' ],
repository:
{ type: 'git',
url: 'git+https://github.com/RealOrangeOne/react-native-mock.git' },
author: 'Jake Howard [email protected]',
bugs: { url: 'https://github.com/RealOrangeOne/react-native-mock/issues' },
license: 'MIT',
readmeFilename: 'README.md',
version: '0.3.1',
main: 'build/react-native.js',
scripts:
{ prepublish: 'npm run build',
test: 'npm run lint && npm run mocha',
mocha: 'mocha --require babel-core/register 'test/**/.js'',
'mocha:watch': 'npm run test -- --watch',
build: 'rm -rf build/ && babel src --out-dir build',
lint: 'eslint 'src/' 'test/' 'mock.js'' },
devDependencies:
{ 'babel-cli': '6.9.0',
'babel-core': '6.9.0',
'babel-eslint': '6.0.4',
'babel-preset-airbnb': '2.0.0',
'babel-preset-react-native': '1.8.0',
chai: '3.5.0',
eslint: '2.10.2',
'eslint-config-airbnb': '9.0.1',
'eslint-plugin-import': '1.8.0',
'eslint-plugin-jsx-a11y': '1.2.2',
'eslint-plugin-react': '5.1.1',
'eslint-plugin-react-native': '1.0.2',
mocha: '2.5.3',
react: '^15.4.0',
'react-native': '^0.38.0' },
dependencies:
{ 'cubic-bezier': '^0.1.2',
invariant: '^2.2.1',
keymirror: '^0.1.1',
raf: '^3.2.0',
'react-addons-create-fragment': '^15.4.0',
'react-addons-perf': '^15.4.0',
'react-addons-pure-render-mixin': '^15.4.0',
'react-addons-test-utils': '^15.4.0',
'react-addons-update': '^15.4.0',
'react-dom': '^15.4.0',
'react-timer-mixin': '^0.13.3',
warning: '^2.1.0' },
peerDependencies: { react: '', 'react-native': '*' },
gitHead: '1d76e05a9c8a647ff44eea57b1024a99ba9e4c4f',
dist:
{ shasum: '13d22433c5351a8a7fb8aedd7862b614d087851c',
tarball: 'https://registry.npmjs.org/react-native-mock/-/react-native-mock-0.3.1.tgz' },
directories: {} }
from react-native-mock.
Yes, this is correct. The latest version is 0.3.1
. See the package.json
for proof. Again, you're getting the version number from an unofficial fork
from react-native-mock.
Related Issues (20)
- React v15.5.0 Deprecation Warnings HOT 3
- Need a way to reset _animationFrame count HOT 2
- Mock for i18nManager HOT 3
- Missing support for percentage widths HOT 1
- Does it support mock fetch? HOT 3
- Invariant Violation: Native module cannot be null. HOT 6
- TypeError: Cannot read property 'number' of undefined HOT 23
- Cannot find module 'react/lib/ReactComponentTreeHook' from 'ReactDebugTool.js' HOT 35
- Plans to support FlatList HOT 1
- Should `babel-preset-airbnb` be in `dependencies`? HOT 1
- Warning: ReactTestUtils has been moved to react-dom/test-utils HOT 1
- Issue using via package manager since build is required HOT 6
- View.PropTypes is depricated but still used here. HOT 2
- emitting event from native ios working example
- Animated Delay is not exported HOT 1
- Animated is not fully mocked
- No wiki page now HOT 1
- Cannot find module 'ReactPerf' from 'react-native.js'
- Maintainers wanted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-mock.