Two suggestions:

1. if set the enableSPA to true, you should implement it according to
https://github.com/apache/skywalking-client-js#spa-page.
2. if you want to report error logs for VUE component , you should
refer to 
https://github.com/apache/skywalking-client-js#catching-errors-in-frames-including-react-angular-vue

Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> 于2023年3月3日周五 22:16写道:
>
> See if you can see it now please.
>
> Em sex., 3 de mar. de 2023 às 09:54, Sheng Wu <wu.sheng.841...@gmail.com> 
> escreveu:
>>
>> The Apache Mail list only accepts raw test or link.
>> The image would not be forwarded.
>>
>> Sheng Wu 吴晟
>> Twitter, wusheng1108
>>
>>
>> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> 于2023年3月3日周五
>> 20:48写道:
>>
>> > 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 <
>> > myrelle.da...@gmail.com> 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 <qiuxia...@apache.org>
>> >> 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 <myrelle.da...@gmail.com> 于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 <
>> >>> myrelle.da...@gmail.com> 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