Skip to content

Audit command could not resolve relate path #12

@baumstern

Description

@baumstern

Problem

Expected behavior is same as lerna run audit -- ~/Documents/Workspace/references/sooho/hgc.sol when called lerna run audit -- ./hgc.sol.

hyundp:sooho daehyun$ ls
CHANGELOG.md	SECURITY.md	hygener.sol	package.json	yarn.lock
README.md	hgc.sol		lerna.json	packages
hyundp:sooho daehyun$ lerna run audit -- ./hgc.sol
lerna notice cli v3.13.1
lerna info Executing command in 1 package: "npm run audit ./hgc.sol"
lerna ERR! npm run audit ./hgc.sol exited 1 in '@sooho/cli'
lerna ERR! npm run audit ./hgc.sol stdout:

> @sooho/cli@0.3.3 audit /Users/daehyun/Documents/Workspace/references/sooho/packages/sooho-cli
> ./bin/run audit "./hgc.sol"


lerna ERR! npm run audit ./hgc.sol stderr:
- Parse files
Error: ENOENT: no such file or directory, lstat './hgc.sol'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @sooho/cli@0.3.3 audit: `./bin/run audit "./hgc.sol"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @sooho/cli@0.3.3 audit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/daehyun/.npm/_logs/2019-04-07T13_50_34_285Z-debug.log

lerna ERR! npm run audit ./hgc.sol exited 1 in '@sooho/cli'

Expected

hyundp:sooho daehyun$ lerna run audit -- ~/Documents/Workspace/references/sooho/hgc.sol
lerna notice cli v3.13.1
lerna info Executing command in 1 package: "npm run audit /Users/daehyun/Documents/Workspace/references/sooho/hgc.sol"
lerna info run Ran npm script 'audit' in '@sooho/cli' in 1.6s:

> @sooho/cli@0.3.3 audit /Users/daehyun/Documents/Workspace/references/sooho/packages/sooho-cli
> ./bin/run audit "/Users/daehyun/Documents/Workspace/references/sooho/hgc.sol"

lerna success run Ran npm script 'audit' in 1 package in 1.6s:
lerna success - @sooho/cli

Environment

  • OS: macOS Sierra 10.12.6
  • lerna: 3.13.1
  • npm: 6.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions