Closed j-q-arnold closed 4 years ago
@j-q-arnold hey jim - can you try with 1.4.8. i adjusted it about 3 weeks back to only send to stdout and only add stacktraces if --stacktrace option is present. i think it may be fixed, could you try and verify? i can't reproduce you example in the current release
Something is still broken, I think.
jaarno0218mac:reslang jaarno$ pwd
/Users/jaarno/code/reslang
jaarno0218mac:reslang jaarno$ git co master
Already on 'master'
Your branch is up to date with 'origin/master'.
jaarno0218mac:reslang jaarno$ git pull
Already up to date.
jaarno0218mac:reslang jaarno$ ./reslang --help
/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:434
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/names.ts:1:23 - error TS2307: Cannot find module 'pluralize' or its corresponding type declarations.
1 import pluralize from "pluralize"
~~~~~~~~~~~
at createTSError (/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:434:12)
at reportTSError (/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:438:19)
at getOutput (/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:578:36)
at Object.compile (/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:775:32)
at Module.m._compile (/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:858:43)
at Module._extensions..js (internal/modules/cjs/loader.js:1196:10)
at Object.require.extensions.<computed> [as .ts] (/Users/jaarno/code/reslang/node_modules/ts-node/src/index.ts:861:12)
at Module.load (internal/modules/cjs/loader.js:1040:32)
at Function.Module._load (internal/modules/cjs/loader.js:929:14)
at Module.require (internal/modules/cjs/loader.js:1080:19)
can you pls do "yarn install" after the pull, and try again?
The yarn install
was the ticket. Much better now, without the stack dump.
Thanks.
On Fri, Jun 26, 2020 at 11:48 AM liveandrew notifications@github.com wrote:
can you pls do "yarn install" after the pull, and try again?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LiveRamp/reslang/issues/63#issuecomment-650338890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIYB46G625LYRCTIBGDSCWTRYTURPANCNFSM4OBCYYUQ .
thanks james!
When
reslang
encounters an error in the input spec, it can emit a stack trace tostdout
. This could be useful for debugging or for a log file, but it isn't so useful in production. Standard error is redirected below to showstdout
. When this output is combined withstderr
, the result is pretty hard to read.