Comments (9)
Everything working fine now.
We keep in touch!
from latitude.
I wonder if dependencies should be inside .latitude/app folder or in the root of my Latitude project, which is this case.
from latitude.
I'm always running latitude dev
command in the root of my project
from latitude.
Ok looks good. I've been able to reproduce the query not found issue and will release a fix asap (today). In the meantime if this is critical i'd suggest to downgrade to a previous latitude version with latitude update
.
from latitude.
this is probably some incompatibility with the version of the connector you installed and the version of latitude you are trying to use. It will get fix as soon as I fix the original issue and you can get to using the latest version of latitude. PR is already opened.
from latitude.
hey @abgonzalez93
Let's look at the 2 issues separately.
Connector not installed
The watchers detect if the package is installed via the package.json that should be present in the root of your project. Could you confirm you have a package.json at the root of your project and that it has the mysql connector listed in the dependencies list? If not, please do add a package.json and run the npm install --save ...
connector from the root of your project
Query not found
The behaviour looks correct so I'm not sure what could be happening here. latitude dev
keeps the contents of the queries
folder in sync with the contents of .latitude/app/static/.latitude/queries
folder. I'm gonna try to reproduce the issue on my end and come back to you.
from latitude.
Root of the project is where the connectors should be installed, so it looks ok. Some more questions then, are you running latitude dev
from the terminal in the root of your project?
from latitude.
There is also an error in the previous version (1.0.1). It seems it's because of the MySQL connector:
/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/protocol/Parser.js:437
throw err; // Rethrow non-MySQL errors
^
TypeError: Cannot read properties of undefined (reading 'map')
at MysqlConnector.buildQueryParams (file:///home/antoniobueno/Analitica/fieldeas-demo/node_modules/@latitude-data/mysql-connector/dist/index.js:91:23)
at file:///home/antoniobueno/Analitica/fieldeas-demo/node_modules/@latitude-data/mysql-connector/dist/index.js:34:50
at Handshake.onConnect (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/Pool.js:64:7)
at Handshake. (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/Connection.js:526:10)
at Handshake._callback (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/Connection.js:488:16)
at Sequence.end (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
at Sequence.OkPacket (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/protocol/sequences/Sequence.js:92:8)
at Protocol._parsePacket (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/antoniobueno/Analitica/fieldeas-demo/node_modules/mysql/lib/protocol/Parser.js:43:10)Node.js v18.20.2
from latitude.
@abgonzalez93 the patch is released if you could update cli and latitude project to latest versions the issue should be solved 🙏🏼
from latitude.
Related Issues (20)
- SSL configuration
- Add screenshots of examples
- Different rendering views formats
- Cache expiration time
- Issue when installing with python 3.12 HOT 2
- Server opening in a different port that what is shown
- Issue starting a new project on my Ubuntu WSL Terminal (Windows 11) HOT 3
- Data from CSV is not loaded HOT 2
- Unbundle connectors from Latitude
- Latitude Platform
- React component library HOT 1
- Testing suite HOT 1
- Project does not compile after any change is done HOT 9
- Integrate with dbt semantic layer HOT 2
- Concat params in SQL HOT 3
- TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object HOT 3
- Improve error logs
- Options to scale Latitude Cloud deployments
- Setting secrets in Latitude Cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latitude.