Here the print when I put the "type": "module"
[image: image.png]

Em sex., 3 de mar. de 2023 às 09:10, Myrelle Damas G. S. de Araújo <
[email protected]> escreveu:

> I put the scheme (http), however, it still didn't return anything to me on
> the Skywalking frontend. Here are the steps I usually take to upload the
> application:
>
> 1 - Saved my settings.
> 2 - I do the "npm run build".
> 3 - Then "npm run server"
>
> Then the application goes up, without any type of error, but it seems that
> the agent still cannot communicate with the project.
>
> Attached is another attempt I made yesterday, placing the client.js
> separately. This import error I looked for and already set the "type":
> "module" in the package.json, but even so I can't overcome this 
> situation.[image:
> error impor.png]
>
> Em qui., 2 de mar. de 2023 às 23:36, xue fan <[email protected]>
> escreveu:
>
>> Hi, I found out your parameter of collector has no scheme.
>>
>> https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#scheme
>>
>> Myrelle Damas G. S. de Araújo <[email protected]> 于2023年3月2日周四
>> 23:01写道:
>> >
>> > The client-js version I'm using is 0.9.0.
>> >
>> > Attached is the .zip and the link Drive of the test project. I
>> emphasize again that our team is a monitoring team, so we don't have much
>> knowledge of development in NodeJs, VUE... We look forward to your feedback
>> and thank you in advance!
>> >
>> >
>> https://drive.google.com/file/d/1V9UxFcr8JpbmQJKoCozdibM3Sh3jLHM4/view?usp=share_link
>> >
>> > Em qua., 1 de mar. de 2023 às 15:36, Myrelle Damas G. S. de Araújo <
>> [email protected]> escreveu:
>> >>
>> >> Good afternoon,
>> >>
>> >> I'm trying to use Skywalking at my workplace and we're trying to
>> instrument the agent in a NodeJS application. At first, the developer
>> followed the manual and did the instrumentation, however, when an error
>> occurs in the application, it tries to send the log for a request like this
>> one:
>> >>
>> >>
>> >> Then, at this moment, an error occurs in the Skywalking log:
>> >> 2022-09-29 15:19:12,444 -
>> com.linecorp.armeria.server.logging.LoggingService - 186
>> [armeria-eventloop-epoll-4-41] WARN  [] - [sreqId=abbf564f,
>> chanId=52c03e18, raddr=10.200.12.77:62788, 
>> laddr=172.26.0.139:12800][h1c://vlcd-zabbixdesv01/browser/errorLogs#POST]
>> Response: {startTime=2022-09-29T18:19:12.442Z(1664475552442149),
>> length=37B, duration=705µs(705241ns), totalDuration=108ms(108534921ns),
>> cause=java.lang.IllegalArgumentException: No suitable request converter
>> found for a @RequestObject 'List', headers=[:status=400,
>> content-type=text/plain; charset=utf-8, content-length=37]}
>> >>
>> >> Below is the log that was sent to me on the day of the developer's
>> test.
>> >>
>> >> Our monitoring team was unable to help resolve his problem, so we
>> tried to make a very basic test application to understand the steps the
>> developer took. However, we are not succeeding, neither with the backend
>> agent nor with the clientjs agent, we would like some help so that we can
>> configure the agent in the application so that it appears in Skywalking. I
>> appreciate the attention!
>> >>
>> >> Myrelle Damas.
>>
>

Reply via email to