You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried dropping TSDX into an existing library, and got this:
> [email protected] build /Users/jasonetco/dev/actions-toolkit
> tsdx build
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at assertPath (path.js:39:11)
at Object.resolve (path.js:1088:7)
at Object.exports.resolveApp (/Users/jasonetco/dev/actions-toolkit/node_modules/tsdx/dist/utils.js:19:27)
at Object.createRollupConfig (/Users/jasonetco/dev/actions-toolkit/node_modules/tsdx/dist/createRollupConfig.js:29:24)
at createBuildConfigs (/Users/jasonetco/dev/actions-toolkit/node_modules/tsdx/dist/index.js:30:30)
at prog.command.describe.action (/Users/jasonetco/dev/actions-toolkit/node_modules/tsdx/dist/index.js:130:37)
at Sade.parse (/Users/jasonetco/dev/actions-toolkit/node_modules/sade/lib/index.js:153:56)
at Object.<anonymous> (/Users/jasonetco/dev/actions-toolkit/node_modules/tsdx/dist/index.js:168:6)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
After some 🤔, turns out it was expecting a "source" property in my package.json.
Expected behavior
A handy-dandy error like:
Hey you need a `source` property in your package.json, pointing to the entrypoint of your library
Your environment
Software
Version(s)
TSDX
v0.0.25
The text was updated successfully, but these errors were encountered:
JasonEtco
changed the title
Unclear error for missing path
Unclear error for missing "source"
Jan 29, 2019
Current Behavior
Tried dropping TSDX into an existing library, and got this:
After some 🤔, turns out it was expecting a
"source"
property in mypackage.json
.Expected behavior
A handy-dandy error like:
Your environment
v0.0.25
The text was updated successfully, but these errors were encountered: