Conversation
We could have 0.3.0 when need :) Releasing one agent is not relying on many things. |
7f2d52e to
b253d66
Compare
|
BTW, this is good for merge. |
There was a problem hiding this comment.
The package-lock.json doesn't seem to be updated correctly, (seems it contains the dependencies of skywalking-nodejs itself and thus its depdnecneies duplicately), I simply checked out this PR and run npm install, the package-lock.json file is much more reduced, ~10000 lines!!), can you check ?
% gst
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
% npm i > /dev/null
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
% g diff --stat
package-lock.json | 10325 +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 file changed, 41 insertions(+), 10284 deletions(-)
%
My npm probably mangled it when I added mongoose as a dev dependancy for the test. |
|
If you want just use the previous good version of package-lock and add mongoose as a dependency yourself or if you want I try again and hopefully npm behaves. |
|
Confirmed, my npm v7.6.3 keeps doing this. |
|
Hi, I found a problem, when I add skywalking agent in my server, the mongoose api is broken. The const result = await this.model.find({}).exec();
// ERROR 57176 nodejs.TypeError: model.find(...).exec is not a function |
@tom-pytel mind taking a look? |
Just an update @zhaozhiming, not sure yet when I will be able to get to this but a temporary fix would be to simply await the |
|
@tom-pytel excuse, but do you have any news about this bug? still not working and throwing this error
|
Yeah, I never got back to this. The reason for the failure is because the |
Thanks for your response. Are you planning any plugin updates in the future? |
Not in the immediate future, sorry. |
|
can anyone tell me which version should i use to avoid error ? i am currently using "skywalking-backend-js": "^0.7.0" . Thank you in advance. |

Too bad you already released 0.2.0, I wanted to get this last plugin in before that. It is not done yet, still need to test some more and write automated test. Also need to add the Component ID in the main skywalking repository and I think a logo goes somewhere?