reactjs - How to use node_modules that are not in my directory in React Native? -


i have project folders project/nativeapp, nativeapp folder react native project resides. want use npm libraries, required const react = require('react').

thing is, want have 1 package.json , node_modules/ whole project in project folder 1 npm install needed. how require libraries "one level up" in file system?


Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -