Comments (8)
Im having the same issue when trying to install on OSX
$ cd "Test_Lumber" && node ./bin/www
module.js:442
throw err;
^
Error: Cannot find module '/Users/foo/Projects/lumber/Test_Lumber/bin/www'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.runMain (module.js:575:10)
at run (bootstrap_node.js:352:7)
at startup (bootstrap_node.js:144:9)
at bootstrap_node.js:467:3
from lumber.
@Ashh007 and @ryanjrose can you just do a ls
on the generated directory (Test_Lumber
for @ryanjrose ) and show here the output?
from lumber.
Hi @SeyZ , I am having the same issue and here is the result from ls
total 0
drwxr-xr-x 4 cyanglee staff 136B Nov 15 11:15 .
drwxr-xr-x 6 cyanglee staff 204B Nov 15 11:15 ..
drwxr-xr-x 2 cyanglee staff 68B Nov 15 11:15 etc
drwxr-xr-x 2 cyanglee staff 68B Nov 15 11:15 node_modules
from lumber.
Hi @SeyZ getting same in my directory, any update on this bug??
from lumber.
Hey @Ashh007 Can you verify you have data in your database (not just the schema) ?
from lumber.
Hi @SeyZ getting same in my directory, And there no change in my database.
root@20de8211ee05:/data# 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? lumber
? What's the database hostname? mysql
? What's the database port? 3306
? What's the database user? root
? What's the database password? [optional] ****
? Choose a project name: Gift
cd Gift && npm install...
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle undefined~preinstall: undefined
npm info linkStuff !invalid#1
npm info lifecycle undefined~install: undefined
npm info lifecycle undefined~postinstall: undefined
npm info lifecycle undefined~prepublish: undefined
npm WARN enoent ENOENT: no such file or directory, open '/data/Gift/package.json'
npm WARN Gift No description
npm WARN Gift No repository field.
npm WARN Gift No README data
npm WARN Gift No license field.
npm info ok
đ Hooray, installation success! đ
Run your admin microservice:
$ cd "Gift" && node ./bin/www
root@20de8211ee05:/data# ls -la Gift/
total 16
drwxr-xr-x 4 root root 4096 Dec 14 16:12 .
drwxrwxr-x 3 node node 4096 Dec 14 16:12 ..
drwxr-xr-x 2 root root 4096 Dec 14 16:12 etc
drwxr-xr-x 2 root root 4096 Dec 14 16:12 node_modules
root@20de8211ee05:/data# cd "Gift" && node ./bin/www
module.js:472
throw err;
^
Error: Cannot find module '/data/Gift/bin/www'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:535:3
root@20de8211ee05:/data/Gift#
from lumber.
same issue
from lumber.
Hi there,
As the issue is pretty old, and lumber changed a lot, I think we can close this issue.
I am pretty confident that this is fixed with the latest Lumber versions.
đ˛đ˛đ˛
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.