npm issue
Closed this issue · 16 comments
I have a issue at below step :
opentrace-cloud-functions>npm --prefix functions install
npm ERR! Can't install : Missing package version
Could you pls help me on this?
This issue is probably more suited in https://github.com/opentrace-community/opentrace-cloud-functions
Try the following:
• Ensure the latest Node.js LTS version is used
• Update NPM with npm install -g npm
This issue is probably more suited in https://github.com/opentrace-community/opentrace-cloud-functions
Try the following:
• Ensure the latest Node.js LTS version is used
• Update NPM withnpm install -g npm
Yes, updated and this issue still appeared :(
I'm stuck at this step .
Mee too, and this guide is poorly writen! You need to show step by step guide!
In the spirit of nurturing a healthy FOSS community, let's try to keep the conversation civil.
I'm not too sure why the docs suggest using --prefix
, but could you try the following:
-
cd functions
This would put you in the same directory as
package.json
, thereby removing the need to use--prefix
-
npm ci
I recommend this command over
npm install
as it makes use of package locks, thereby making the installation reproducible.
Further reading:
Duplicate of opentrace-community/opentrace-cloud-functions#14
I'm still unable to replicate the issue from my end. Could you run the following command:
node -e "console.log(process.platform, process.arch, process.versions.node)"
... and then post it here?
Here's mine:
win32 x64 12.16.1
Also, could you try adding this key-value into package.json
, and then retry the install process?
"version": "0.0.1"
I'm still unable to replicate the issue from my end. Could you run the following command:
node -e "console.log(process.platform, process.arch, process.versions.node)"
... and then post it here?
Here's mine:
win32 x64 12.16.1Also, could you try adding this key-value into
package.json
, and then retry the install process?"version": "0.0.1"
Thanks for your support, it's OK now, deploy the functions to firebase succeed.
Now I'm facing with this issue when run app :
NOT-IDLE Failed to retrieve HandShakePin NOT_FOUND
Could you pls give some advise for this?
@Hoangtho11188 Issue #9 addresses this concern. Could you take a look at the thread there?
@Hoangtho11188 Issue #9 addresses this concern. Could you take a look at the thread there?
it's ok now, thanks so much @achrinza :)
@achrinza One more question, how do we test this app?
Ex : with 2 devices (installed this app)
- how can we know that : they were connected or not?
- And about functions "Upload data" : how can we get correct PIN in this case? and how to check on Firebase storage?
Thank in advance for your help!
Hi @Hoangtho11188, apologies for the delayed reply. Unfortunately my knowledge of the OpenTrace project is rather limited, so I can't really help out in answering those queries.
There's a number of issues mentioning OTP throughout the different repos, could you check those out?
To quote @rinekri (taken from #10 (comment)):
you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.
Not too sure if it works on the Android app, but I thought it's worth a mention.
To quote @rinekri (taken from #10 (comment)):
you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.
Not too sure if it works on the Android app, but I thought it's worth a mention.
I 100% sure that it works :)
To quote @rinekri (taken from #10 (comment)):
you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.
Not too sure if it works on the Android app, but I thought it's worth a mention.
I 100% sure that it works :)
My app crash when did this step.On debugging. :)
To quote @rinekri (taken from #10 (comment)):
you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.
Not too sure if it works on the Android app, but I thought it's worth a mention.
I 100% sure that it works :)
My app crash when did this step.On debugging. :)
Wow, check logs from logcat, maybe something is not initialized correctly or your device doesn’t support something what app uses in debug mode.
@rinekri Empty screen when double tap on logo. I have 2 devices, seem as they weren't connected.Do you have any advice or suggestion?