Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics (2015) The Request and Response Objects in Express Requests and the request object

Fábio Tavares da Costa
Fábio Tavares da Costa
11,985 Points

Error: Cannot find module '/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/···' No clue, help.

I'm unable to solve this (looks like last) error in the way.

I got the PATHS fixed and UBlock out of node-inspector's way, which causes this:

Failed to load resource: net::ERR_CONNECTION_REFUSED

# My Conf
~ $ node -v
v4.0.0
~ $ node-inspector -v
Node Inspector v0.12.3
~ $ npm -v
2.14.2

That's the problem

Error: Cannot find module '/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.5.2/node-v46-linux-x64/debug.node'

The PATH obve does not exist, so it won't work this way. It goes until /debug/.

The folder contains:

ls -1
action_after_build.target.mk
binding.Makefile
config.gypi
debug.target.mk
Makefile

Any clue?

Thanks in advance

run sudo npm install -g node-inspector --no-optional theres a option that causes a crap ton of errors

run sudo npm install -g node-inspector --no-optional theres a option that causes a crap ton of errors

Fábio Tavares da Costa
Fábio Tavares da Costa
11,985 Points

Nope, now node-inspector stopped working all together.