cannot resolve main script if -r options specified, flag with value specified and main script file path contains only file name.

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

@develar

Description

iojs --expose_debug_as=v8debug -r ./p.js file.js
module.js:339
    throw err;
          ^
Error: Cannot find module 'file.js'

Works correctly, if "--expose_debug_as=v8debug " is not specified.

Test project (files file.js and p.js) — https://dl.dropboxusercontent.com/u/43511007/s/test.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions