Viro: error building release build android studio

Created on 12 Jul 2018  路  2Comments  路  Source: viromedia/viro

I'm currently getting an error when attempting to run the ./gradlew assembleGvrRelease script through the terminal.

The reason provided is as follows

  • What went wrong:
    Could not list contents of '/Users/studio/concept/UCLmoments/node_modules/fsevents/node_modules/.bin/node-pre-gyp'. Couldn't follow symbolic link.

Thanks,

James

Most helpful comment

Hi @JamesBotterill ,
This potentially seems like a react-native issue, rather than a ViroReact issue. Found similar issues looking issues:
https://github.com/facebook/react-native/issues/11212
https://github.com/facebook/react-native/issues/14417
https://github.com/srs/gradle-node-plugin/issues/190

Can you try removing node_modules and re-installing them? At the root of the project, run

rm -rf node_modules ; npm install

If that doesn't resolve this, what are your contents of package.json?

Let us know.

Thanks

All 2 comments

Hi @JamesBotterill ,
This potentially seems like a react-native issue, rather than a ViroReact issue. Found similar issues looking issues:
https://github.com/facebook/react-native/issues/11212
https://github.com/facebook/react-native/issues/14417
https://github.com/srs/gradle-node-plugin/issues/190

Can you try removing node_modules and re-installing them? At the root of the project, run

rm -rf node_modules ; npm install

If that doesn't resolve this, what are your contents of package.json?

Let us know.

Thanks

Great that resolved the issue thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SathishSaminathan picture SathishSaminathan  路  4Comments

jungley picture jungley  路  3Comments

WillGeller picture WillGeller  路  3Comments

vuthanhtrung0504 picture vuthanhtrung0504  路  5Comments

ascorbic picture ascorbic  路  4Comments