permaweb / aos

An operating system for AO: The hyper parallel computer
https://ao.g8way.io
Other
68 stars 46 forks source link

error: module 'lsqlite3' not found when I run aos with sqlite #327

Closed xgocn closed 3 weeks ago

xgocn commented 3 weeks ago

Welcome to AOS: Your operating system for AO, the decentralized open access supercomputer. Type ".load-blueprint chat" to join the community chat and ask questions!

AOS Client Version: 1.12.0. 2024 Type "Ctrl-C" twice to exit

Your AOS process: Z38ogJu_-AP44es4t9ceuHr7YfbqANCyflfXS6OwURg

ao-pets@aos-0.2.1[Inbox:1]> .update Updated AOS to version 0.2.1 ao-pets@aos-0.2.1[Inbox:1]> .load ./lua/pet.lua Loading... ./lua/pet.lua

The following files will be deployed: D:\aos\ao-pet\lua\pet.lua MAIN error: module 'lsqlite3' not found: no field package.preload['lsqlite3']module lsqlite3 not found no file '/usr/local/share/lua/5.3/lsqlite3.lua' no file '/usr/local/share/lua/5.3/lsqlite3/init.lua' no file '/usr/local/lib/lua/5.3/lsqlite3.lua' no file '/usr/local/lib/lua/5.3/lsqlite3/init.lua' no file './lsqlite3.lua' no file './lsqlite3/init.lua' no file '/usr/local/lib/lua/5.3/lsqlite3.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './lsqlite3.so' in D:\aos\ao-pet\lua\pet.lua MAIN 6 local sqlite3 = require("lsqlite3")

This error occurred while aos was evaluating the submitted code.

xgocn commented 3 weeks ago

I have tried : aos --sqlite aos --module={ao-sqlite module id}

from AOS-SQLite Repo found ao-sqlite module id,including 32 and 64