Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

Error locating correct path #27

Open
ezequias opened this issue Feb 12, 2017 · 2 comments
Open

Error locating correct path #27

ezequias opened this issue Feb 12, 2017 · 2 comments
Labels
Milestone

Comments

@ezequias
Copy link

Today I was trying to find a way to solve a problem that actually does not exist.

I was trying to open a file in a project I was working but it looks nodeJS integrator was in another path.

See my code attached:

c_html.zip

PS: The problem only occurs on NodeJS Integration for Brackets. In the console the problems doesn't exist.

@ezequias
Copy link
Author

It only works if the js file is on the rood of the opened project. If the javascript file is within another folder it does not work even the menu say "Start (current NodeJS file) CTRL+Shift + N.

I still think it is a bug.

@ezequias
Copy link
Author

If you use arquivo.readFile(__dirname + '/arquivos/index.htm', function (err, html) {

it will work.

@yacut yacut added the bug label Feb 18, 2017
@yacut yacut added this to the 1.9 milestone Feb 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants