Coder Social home page Coder Social logo

Comments (4)

cliftonc avatar cliftonc commented on September 27, 2024

Sridhar,

I would assume that 'node bin/eb' would work? The eb script is just a node file, but it is prefixed with a bash flag to indicate to linux / macosx that it should be executed by node.

Apologies as I don't actually use a windows PC, and hence if you want it to work better in Windows it would be great if you could fork it, fix it, and submit a pull request - I really can't do much but offer advice.

Cheers,
Clifton

from express-mvc-bootstrap.

sridkdhar avatar sridkdhar commented on September 27, 2024

Thank you Clifton,

I am getting the following error when executing "node bin/eb"

But when i run node app.js it is server is running. I am suspecting some
paths are missing in my env.

-- my screen
E:\Node\myapp>node eb

node.js:207
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH
envi
ronment variable instead.
at Function. (module.js:376:11)
at Object. (E:\Node\myapp\eb:19:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array. (module.js:470:10)
at EventEmitter._tickCallback (node.js:199:26)

E:\Node\myapp>node app.js
Express server 2.5.0 listening on port 3000

With warm regards
Sridhar dk
+91-949 045 7590

On Wed, Nov 16, 2011 at 7:09 PM, Clifton Cunningham <
[email protected]

wrote:

Sridhar,

I would assume that 'node bin/eb' would work? The eb script is just a
node file, but it is prefixed with a bash flag to indicate to linux /
macosx that it should be executed by node.

Apologies as I don't actually use a windows PC, and hence if you want it
to work better in Windows it would be great if you could fork it, fix it,
and submit a pull request - I really can't do much but offer advice.

Cheers,
Clifton


Reply to this email directly or view it on GitHub:

#14 (comment)

With best regards
Sridhar dk
+91-9490457590

from express-mvc-bootstrap.

cliftonc avatar cliftonc commented on September 27, 2024

Ahh - you are using node 0.5.0, it won't work in 0.5.0 unless we refactor
the entire project to not rely on require.paths. This has been done in
Calipso, it requires some additional work in each module to allow the
rootpath of the application to be set and used.

This needs work - which I am unable to do at the moment, but happy for you
to have a go at it - take a look at Calipso for ideas.

Clifton

On 16 November 2011 13:59, Sridhar <
[email protected]

wrote:

Thank you Clifton,

I am getting the following error when executing "node bin/eb"

But when i run node app.js it is server is running. I am suspecting some
paths are missing in my env.

-- my screen
E:\Node\myapp>node eb

node.js:207
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH
envi
ronment variable instead.
at Function. (module.js:376:11)
at Object. (E:\Node\myapp\eb:19:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array. (module.js:470:10)
at EventEmitter._tickCallback (node.js:199:26)

E:\Node\myapp>node app.js
Express server 2.5.0 listening on port 3000

With warm regards
Sridhar dk
+91-949 045 7590

On Wed, Nov 16, 2011 at 7:09 PM, Clifton Cunningham <
[email protected]

wrote:

Sridhar,

I would assume that 'node bin/eb' would work? The eb script is just a
node file, but it is prefixed with a bash flag to indicate to linux /
macosx that it should be executed by node.

Apologies as I don't actually use a windows PC, and hence if you want it
to work better in Windows it would be great if you could fork it, fix it,
and submit a pull request - I really can't do much but offer advice.

Cheers,
Clifton


Reply to this email directly or view it on GitHub:

#14 (comment)

With best regards
Sridhar dk
+91-9490457590


Reply to this email directly or view it on GitHub:

#14 (comment)

from express-mvc-bootstrap.

sridkdhar avatar sridkdhar commented on September 27, 2024

Dear Clifton,

I have 0.5.0 only available for windows platform. So let me wait till
nodejs updated.

With warm regards
Sridhar dk

On Wed, Nov 16, 2011 at 7:31 PM, Clifton Cunningham <
[email protected]

wrote:

Ahh - you are using node 0.5.0, it won't work in 0.5.0 unless we refactor
the entire project to not rely on require.paths. This has been done in
Calipso, it requires some additional work in each module to allow the
rootpath of the application to be set and used.

This needs work - which I am unable to do at the moment, but happy for you
to have a go at it - take a look at Calipso for ideas.

Clifton

On 16 November 2011 13:59, Sridhar <
[email protected]

wrote:

Thank you Clifton,

I am getting the following error when executing "node bin/eb"

But when i run node app.js it is server is running. I am suspecting some
paths are missing in my env.

-- my screen
E:\Node\myapp>node eb

node.js:207
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the
NODE_PATH
envi
ronment variable instead.
at Function. (module.js:376:11)
at Object. (E:\Node\myapp\eb:19:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array. (module.js:470:10)
at EventEmitter._tickCallback (node.js:199:26)

E:\Node\myapp>node app.js
Express server 2.5.0 listening on port 3000

With warm regards
Sridhar dk
+91-949 045 7590

On Wed, Nov 16, 2011 at 7:09 PM, Clifton Cunningham <
[email protected]

wrote:

Sridhar,

I would assume that 'node bin/eb' would work? The eb script is just a
node file, but it is prefixed with a bash flag to indicate to linux /
macosx that it should be executed by node.

Apologies as I don't actually use a windows PC, and hence if you want
it
to work better in Windows it would be great if you could fork it, fix
it,
and submit a pull request - I really can't do much but offer advice.

Cheers,
Clifton


Reply to this email directly or view it on GitHub:

#14 (comment)

With best regards
Sridhar dk
+91-9490457590


Reply to this email directly or view it on GitHub:

#14 (comment)


Reply to this email directly or view it on GitHub:

#14 (comment)

With best regards
Sridhar dk
+91-9490457590

from express-mvc-bootstrap.

Related Issues (13)

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.