sooho icon indicating copy to clipboard operation
sooho copied to clipboard

Audit command could not resolve relate path

Open baumstern opened this issue 7 years ago • 0 comments

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/[email protected] 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/[email protected] audit: `./bin/run audit "./hgc.sol"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @sooho/[email protected] 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/[email protected] 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

baumstern avatar Apr 07 '19 14:04 baumstern