I'm trying the demos in this project and I'm stuck with component-library-and-project.
I see there are two bs project; complib and app.
I cloned the repo on my machine, entered in complib folder and successfully run bsc that created complib/out/complib.zip.
Now I want to "use" this library in app.
Running bsc inside app just return errors.
On
|
complib_url=http://192.168.1.22:8080/complib.zip |
I see that it expect to download
complib.zip from http.
I changed to point to localhost and started a webserver locally (just
python3 -mhttp.server in the
complib/out folder). I can succesfully download the .zip file from firefox.
Still, I have errors running bsc:
.../component-library-and-project/app$ bsc
[03:37:09:7520 PM] No bsconfig.json file found, using default options
[03:37:09:7550 PM] Loading 0 plugins for cwd ".../component-library-and-project/app"
[03:37:09:7590 PM] Parsing files
[03:37:09:7870 PM] Parsing files finished. (27.954ms)
[03:37:09:7880 PM] Validating project
[03:37:09:7920 PM] Validating project finished. (4.132ms)
components/MainScene.brs:28:9 - error BS1001: Cannot find name 'dialog'
28 dialog.update({
__ ~~~~~~
[03:37:09:7940 PM] Found 1 error
$
what I'm missing?
I'm trying the demos in this project and I'm stuck with component-library-and-project.
I see there are two bs project; complib and app.
I cloned the repo on my machine, entered in complib folder and successfully run
bscthat createdcomplib/out/complib.zip.Now I want to "use" this library in app.
Running
bscinside app just return errors.On
sample-projects/component-library-and-project/app/manifest
Line 10 in de0ade9
complib.zipfrom http.I changed to point to localhost and started a webserver locally (just
python3 -mhttp.serverin thecomplib/outfolder). I can succesfully download the .zip file from firefox.Still, I have errors running bsc:
what I'm missing?