Changed it to this:
// For full API documentation, including code examples, visit Velo API Reference - Wix.com
import wixLocation from ‘wix-location’;
import wixWindow from ‘wix-window’;
$w.onReady( function () {
//TODO: write your page related code here…
let query = wixLocation.query;
wixWindow.openLightBox(‘ICARIS’, {‘message’:query});
});
Still the same error