Comments (18)
Hey @on99 - Do you have the full stacktrace?
from lumber.
@SeyZ Sorry I even do not have a forest admin app account, is it possible to use lumber without that?
from lumber.
What I want is to create an admin panel for database management :-) Seems like lumber is doing exactly the same thing, I did not go through the document yet.
from lumber.
When you run lumber generate
- the tool asks you to fill your database details and an email/password for the Forest registration. You don't need to have a Forest account before running the Lumber generate :)
from lumber.
Hey @on99, @SeyZ: I'm getting the exact same error
from lumber.
@SeyZ Yep I enter email/password, but I got UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'dbName' of undefined
error. How can I get full stack trace for you?
from lumber.
✘ ~ lumber generate
Enter your database connection details and then your admin interface will be automatically generated.
? What's the database type? mysql
? What's the database name? adx
? What's the database hostname? localhost
? What's the database port? 3306
? What's the database user? root
? What's the database password? [optional]
? Choose a project name: admin
? What's your email address? [email protected]
? Choose a password: *********
(node:4449) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'dbName' of undefined
from lumber.
Hey @on99 and @nicgutierrez
What's your OS?
from lumber.
+1, macOS Sierra
from lumber.
Hey @on99 @vladimir-yuldashev @nicgutierrez
I've reproduced your issue and it's fixed in the version 1.0.4
. Can you upgrade lumber-cli
and try again?
Let me know :)
from lumber.
It works now! But how can I delete unused projects now? I have 12 of them :)
from lumber.
Oops :D :D :D @vladimir-yuldashev Can you tell me the email used or the project names?
from lumber.
from lumber.
@vladimir-yuldashev I deleted your old projects. I think you're all good now :)
Guys, feel free to reopen the issue if you still have the problem :)
from lumber.
@SeyZ I am using macOS Sierra.
Here is the output after I upgrade to the latest version:
Enter your database connection details and then your admin interface will be automatically generated.
? What's the database type? mysql
? What's the database name? adx
? What's the database hostname? localhost
? What's the database port? 3306
? What's the database user? root
? What's the database password? [optional]
? Choose a project name: admin
? What's your email address? [email protected]
? Choose a password: *********
error: 💀 Ouch, cannot create your account 💀
Should I enter a new email account every time I need to create a project? I deleted ~/.lumberrc
before executing lumber generate
. 🤕
from lumber.
hey @on99, @SeyZ: I was getting the same error but then I tried with a different email address and it worked fine. What is the email address inserted being used for?
from lumber.
I'm trying to test here but no luck :(
$ lumber generate
Enter your database connection details and then your admin interface will be automatically generated.
? What's the database type? mysql
? What's the database name? lumber
? What's the database hostname? localhost
? What's the database port? 3306
? What's the database user? root
? What's the database password? [optional]
? Choose a project name: lumber_test
? What's your email address? (hidden)@gmail.com
? Choose a password: ******
error: 💀 Ouch, cannot connect to the database 💀
I'm feeling kinda frustrated for not being able to spit some debug info here.
I can connect to my mysql locally no problem. I tried giving the root password, and not giving it (it's saved on my ~/.my.cnf).
My system:
Mac El Capitan (10.11.6)
npm v 3.10.3
lumber v 1.0.1 (I ran "npm -g upgrade", "npm -g upgrade lumber-cli" but I can't seem to get v 1.0.4, maybe this is it?)
from lumber.
@on99 Ok got it. I think your admin account was in a bad state. You can see your current logged user with $ lumber user
, login with $ lumber login
and logout with $ lumber logout
.
You don't have to remove the file manually. When the first project is well configured, you can create new ones without any problem.
from lumber.
Related Issues (20)
- test-panel docker-compose app fails to start with a sequelize exception
- All of the feature links are broken(not found) on your github homepage HOT 1
- Lumber generate error: MongoError: value too large to reduce
- Extending rich text editor HOT 1
- There is no images inside https://docs.forestadmin.com/documentation/reference-guide/models HOT 1
- PostgreSQL, Generate a new backend application -> Error HOT 3
- DATABASE_URL hard-coded in docker-compose.yml HOT 1
- view codes does not work HOT 2
- Stuck Connection to database HOT 7
- Lumber not allowing pass-through of dialectOptions for Sequelize HOT 13
- (node:89175) UnhandledPromiseRejectionWarning: SequelizeAccessDeniedError: Access denied for user 'samplebloguser'@'localhost' (using password: YES) at ConnectionManager.connect HOT 1
- CRUD on mongoose dataBase with deepObject display "[Object, Object]" HOT 2
- Are there any plans to use typescript for Lumber, or are there any options there HOT 4
- Lumber generate fails with "Your database looks empty! Please create some collections before running the command."
- The automated release is failing 🚨
- Using GraphQL API as datasource
- Fix audit vulnerabilities for lodash and handlebars HOT 2
- Consider adding the Z SELinux label to the docker installation script
- throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
- Error
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 lumber.