Sync file to instance error in Servicenow @extension for VS code

cailiang_xu
ServiceNow Employee
ServiceNow Employee

Hi, 

 

After making some changes to the file with VS code, synchronization doesn't work for the following reason:

 

Syntax errors detected in BCPDependencySnapshotUpdateStrategyBase.script.js -> Definition for rule 'glide/use-updatemultiple' was not found.

 

cailiang_xu_0-1711494755357.png

Any idea? 

Thanks,

3 REPLIES 3

thoang93
Tera Expert

Hi @cailiang_xu ,

 Try clicking on the sync File to ensure your code syncs with SNOW system.

thoang93_0-1711521481192.png

Please Mark ✔️ Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

 

Thanks & Best Regards,

Thien Hoang.

cailiang_xu
ServiceNow Employee
ServiceNow Employee

HI, @thoang93 

 

It doesn't work with the eslint comment. After I remove the eslint comment, it works.

How to make it work with the eslint comment?

 

Thanks

Cailiang

cailiang_xu
ServiceNow Employee
ServiceNow Employee

Hi @thoang93 

Thanks for your reply. 

I just tried.  It shows "connect ECONNREFUSED 127.0.0.1:8080".

 

Thanks,