GithubHelp home page GithubHelp logo

Comments (8)

ryanjrose avatar ryanjrose commented on July 19, 2024

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.

SeyZ avatar SeyZ commented on July 19, 2024

@Ashh007 and @ryanjrose can you just do a ls on the generated directory (Test_Lumber for @ryanjrose ) and show here the output?

from lumber.

cyanglee avatar cyanglee commented on July 19, 2024

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.

Ashh007 avatar Ashh007 commented on July 19, 2024

Hi @SeyZ getting same in my directory, any update on this bug??

from lumber.

SeyZ avatar SeyZ commented on July 19, 2024

Hey @Ashh007 Can you verify you have data in your database (not just the schema) ?

from lumber.

clh021 avatar clh021 commented on July 19, 2024

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.

 avatar commented on July 19, 2024

same issue

from lumber.

arnaudbesnier avatar arnaudbesnier commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.