nextron
nextron copied to clipboard
build error when I install firebase
I created project by this command.
npx create-nextron-app <MY-APP> --example with-typescript-material-ui
and run npm run build
This time I finished this command successfully.
But after I installed firebase by this command.
npm install --save firebase
and I run npm run build
again
there are these error
rebuilding native dependencies [email protected] platform=darwin arch=x64
Failed at the [email protected] install script.
Please kindly check. Thank you
Hi @obscure12, what version of NodeJS are you running?
Hi @lacymorrow
this is my environment
node
v12.13.1
npm
6.12.1
@obscure12
Sorry I can't reproduce the error:
(Building is successful)

But it takes about 10 minutes.
It may be the network or out of memory error, I wonder.
@saltyshiomix Thank you so much for your response. Could you tell me your environment and process of creating project
What are your node , npm and nextron version ?
and is this same process with you ?
npx create-nextron-app example-project --example with-typescript-material-ui
npm install --save firebase
npm run build
Please kindly check. Thank you
@obscure12
Here is my env:
- Node.js
v12.13.1
- npm
v6.12.1
- nextron
v5.14.1
And surely I tracked the same instructions 👍
https://github.com/grpc/grpc-node/issues/888
@obscure12
Do you use nvm
for Node.js version management?
I use Node.js from homebrew:
$ brew install node@12
@saltyshiomix I'm using nodebrew
This is pretty old, and have been abandoned for a while, closing it now to tidy up a bit 😄