Comments (6)
I am also experiencing this issue:
brandon@brandons-mpb $ node --version
v6.9.1
brandon@brandons-mpb $ npm install -g lumber-cli
npm WARN deprecated [email protected]: use uuid module instead
/Users/brandon/.nvm/versions/node/v6.9.1/bin/lumber -> /Users/brandon/.nvm/versions/node/v6.9.1/lib/node_modules/lumber-cli/lumber.js
/Users/brandon/.nvm/versions/node/v6.9.1/lib
└── [email protected]
brandon@brandons-mpb $ lumber generate
ℹ︎ Enter your database connection details and then your admin interface will be automatically generated.
ℹ︎ Your database credentials are safe. They are only stored in the Lumber generated microservice.
? What's the database type? postgres
? What's the database name? forest_example
? What's the database hostname? localhost
? What's the database port? 5432
? What's the database user? brandon
? What's the database password? [optional] ********
? Choose a project name: forest_example
cd forest_example && npm install...
npm WARN enoent ENOENT: no such file or directory, open '/Users/brandon/Desktop/forest/forest_example/package.json'
npm WARN forest_example No description
npm WARN forest_example No repository field.
npm WARN forest_example No README data
npm WARN forest_example No license field.
👍 Hooray, installation success! 👍
Run your admin microservice:
$ cd "forest_example" && node ./bin/www
brandon@brandons-mpb $ cd "forest_example" && node ./bin/www
module.js:471
throw err;
^
Error: Cannot find module '/Users/brandon/Desktop/forest/forest_example/bin/www'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
brandon@brandons-mpb $ ls
etc/ node_modules/
from lumber.
I got same issue.
╭─[email protected] [Fri Jan 06, 10:58] ~/projects/Samples/lump
╰─➤ lumber generate
ℹ︎ Enter your database connection details and then your admin interface will be automatically generated.
ℹ︎ Your database credentials are safe. They are only stored in the Lumber generated microservice.
? What's the database type? mysql
? What's the database name? lumb
? 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: lumb-admin
cd lumb-admin && npm install...
npm WARN enoent ENOENT: no such file or directory, open '/Users/jaseem/Projects/Samples/lump/lumb-admin/package.json'
npm WARN lumb-admin No description
npm WARN lumb-admin No repository field.
npm WARN lumb-admin No README data
npm WARN lumb-admin No license field.
👍 Hooray, installation success! 👍
Run your admin microservice:
$ cd "lumb-admin" && node ./bin/www
from lumber.
Hey @jaseemkp @BrandonRomano @heinzin - In order to help me identifying more precisely the problem, can you tell me if you have a schema named public
on your database?
from lumber.
@SeyZ -- Nope, it was an empty newly created database with no tables!
from lumber.
@BrandonRomano Oh I see. I will improve that, but Lumber needs to have tables available on your database to be able to create the project. Otherwise, your admin will be simply empty.
I will add a warning message to explain what's the error.
Same things for you @jaseemkp @heinzin ?
from lumber.
Please, reopen this issue if the problem is not just "an empty database" @jaseemkp @heinzin
Thank you @BrandonRomano !
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.