reactjs - Error in React Native Node.JS compilation -


i trying compile react native guide allows 1 create forms available here : - https://github.com/smhatre59/cloudstorage

when attempting compile using "npm run-script build" or development using "npm start" screen loads , crashes following errors.

> frontend@0.1.0 build c:\users\jake\command line  work\learnd\iterreact\cloudstorage-master\cloudstorage-master\frontend > react-scripts build  creating optimized production build... failed compile.  ./src/app.js line 7:   import in body of module; reorder top  import/first line 8:   import in body of module; reorder top  import/first line 9:   import in body of module; reorder top  import/first line 10:  import in body of module; reorder top  import/first  search keywords learn more each error.   npm err! code elifecycle npm err! errno 1 npm err! frontend@0.1.0 build: `react-scripts build` npm err! exit status 1 npm err! npm err! failed @ frontend@0.1.0 build script. npm err! not problem npm. there additional  logging output above.  npm err! complete log of run can found in: npm err!     c:\users\jake\appdata\roaming\npm-cache\_logs\2017-08- 21t11_44_10_407z-debug.log 

enter image description here

the corresponding code may found in entirety in aforementioned repo or more readily corresponding file in gist : https://gist.github.com/jqed-xuereb/9ab5f947a0a9906ec0d1cba91927859b.

thanks in advance, j

in app.js code, need move import statements top.

currently have injecttapeventplugin(); between list of import statements , causing error.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -