Comments (8)
Sorry I am on the run...
In short: You expect the full path to a.js
right?
I think this regards to this code
Line 61 in 6ac6b39
Will check this out soon. Maybe you can see something there?
from iron-node.
In this case, yes. I expect exactly the same result as in Node (with or without debug, it's not very important).
In node debugger it looks tricky, because the modules get a different value than what is accessible from the debugger. What's important is the value that the modules get.
from iron-node.
@mik01aj just published a new version via npm. Please let me know if this works for you.
from iron-node.
Still the same, using [email protected]
. Btw, this is what npm says; the app title bar says it's v1.2.16
.
from iron-node.
This indicates you are using old code.
Title bar shows package.json.version
This is what I get at:
C:\test>iron-node test.js
Can you research and give feedback what is causing this, just to be shure that this is not a general issue.
from iron-node.
I figured it out: before I started using nvm
, my npm
installed packages to /usr/local/lib/node_modules
and their binaries to /usr/local/bin
. After I started using nvm
, all packages got installed to ~/.nvm/versions/node/v0.12.7/lib/node_modules
and the binaries to ~/.nvm/versions/node/v0.12.7/bin
. The problem was, that /usr/local/bin
was first in the $PATH
variable, so I was using the package that was installed for an older version of Node.
So now I'm really using 1.5.27
and I'm happy to say that it works now! Thanks! :)
from iron-node.
Ty for your feedback
from iron-node.
FYI: now I know why process.argv
was different when I checked it in node debug
. It was in the debugger context. To enter the script conext, I need to use the repl
command.
from iron-node.
Related Issues (20)
- fails to stop on `debugger;` command HOT 4
- A dynamic link library (DLL) initialization routine failed (bcrypt) HOT 2
- iron-node not working with angular2-seed (typescript, gulp) HOT 1
- iron-node > 2.2.15 makes unicorns cry => doesn't work on OSX HOT 4
- Application takes 100% CPU and is unresponsive HOT 4
- Problem with using node-sass on Ubuntu 16.04 HOT 1
- command + w closes iron-node even when iron-node is behind another window HOT 1
- How to pass command to nodejs? HOT 1
- All good things come to an end.. HOT 4
- Publish a new version HOT 2
- new installation requieres install -g and still can't start HOT 7
- Run this in the web browser HOT 1
- No such module: atom_renderer_v8_util HOT 7
- Electron failed to install correctly, please delete node_modules/electron and try installing again HOT 5
- [feature request] Debugging without writing debugger HOT 4
- Electron Helper crashes when refreshing while devtools is paused HOT 4
- contextify.node was compiled against a different Node.js version using NODE_MODULE_VERSION 48 HOT 1
- Error: Cannot find module, despite NODE_PATH being set
- Usage with babel-node HOT 1
- Child Processes don't show in the logs or in the source
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 iron-node.