You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% ./src/my-js-app
no such file or directory: ./src/my-js-app
Ok let's try gjs.
% gjs ./src/main.js
(gjs:1281): Gjs-WARNING **: 15:27:19.845: JS ERROR: ReferenceError: pkg is not defined
@./src/main.js:27:1
Script ./src/main.js threw an exception
Ok let's build this
% meson build
[....]
% ./build/src/com.example.Gtk.JSApplication
permission denied: ./build/src/com.example.Gtk.JSApplication
% chmod +x ./build/src/com.example.Gtk.JSApplication
% ./build/src/com.example.Gtk.JSApplication
(com.example.Gtk.JSApplication:1424): Gjs-WARNING **: 15:28:32.957: JS ERROR: ImportError: No JS module 'main' found in search path
@./build/src/com.example.Gtk.JSApplication:6:1
Script ./build/src/com.example.Gtk.JSApplication threw an exception
Ok let's install this
% cd build
% DESTDIR=./install ninja install
% ./install/usr/local/bin/com.example.Gtk.JSApplication
(com.example.Gtk.JSApplication:2282): Gjs-WARNING **: 15:35:38.003: JS ERROR: ImportError: No JS module 'main' found in search path
@./install/usr/local/bin/com.example.Gtk.JSApplication:6:1
Script ./install/usr/local/bin/com.example.Gtk.JSApplication threw an exception
The text was updated successfully, but these errors were encountered:
Ok let's try gjs.
Ok let's build this
Ok let's install this
The text was updated successfully, but these errors were encountered: