question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Javascript API: Code Version activation not triggering

See original GitHub issue

Code activation through the Javascript API does not seem to trigger while the callback doesn’t get an error.

Calling this API:

let codeApi = require('sfcc-ci').code;
codeApi.activate(instance, version, token, function (error) { /*error is empty*/ });

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
C-Lacerdacommented, Feb 4, 2021

H @dmersiowsky have you solved?

0reactions
dmersiowskycommented, Jul 10, 2020

Looks like we’re calling new Error(null) in https://github.com/SalesforceCommerceCloud/sfcc-ci/blob/master/lib/code.js#L425.

I’ll investigate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Activation Events | Visual Studio Code Extension API
Start up. The * activation event is emitted and interested extensions will be activated whenever VS Code starts up. Note: To ensure a...
Read more >
JavaScript speechSynthesis.speak() without user activation is ...
UPDATE: I'm using Chromium in Raspbian, seems it no longer comes with pre-installed voices. So I synth the voices elsewhere and sent them...
Read more >
.trigger() | jQuery API Documentation
Although .trigger() simulates an event activation, complete with a synthesized event object, it does not perfectly replicate a naturally-occurring event.
Read more >
Using Service Workers - Web APIs | MDN
The service worker code is in a JavaScript file residing inside our app (note this is the file's URL relative to the origin,...
Read more >
Introduction – Activation API Reference - Kameleoon
You can call the methods of this API directly via JavaScript code. ... This is the reference documentation for version 1.0 of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found