Commands fails when definition files are preset
See original GitHub issueHere is the case
I would have the following files
/commands
build.d.ts
build.js
For some reason here
https://github.com/infinitered/gluegun/blob/e30b03f0292ab52124a1076952126456655c6459/src/loaders/module-loader.ts#L13-L14 Node is actually requiring the .d.ts
file instead of the JavaScript file. 🤷♂️
Node version: v10.10.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
How to fix a "Command not found" error in Linux - Red Hat
Learn five ways to deal with a "Command not found" error, Linux users. ... "Command not found," this means the script or file...
Read more >Common Mistakes that cause Automated Processing to Fail
Attempts to write files to subdirectories will fail. All files included via \include instead of \input must be in the top level directory....
Read more >Error handling in playbooks - Ansible Documentation
Error handling in playbooks · Ignoring failed commands · Ignoring unreachable host errors · Resetting unreachable hosts · Handlers and failure...
Read more >Bash Reference Manual - GNU.org
Files containing commands can be created, and become commands themselves. These new commands have the same status as system commands in ...
Read more >2. Shell Command Language
The shell executes a function (see Function Definition Command), built-in (see Special Built-In Utilities), executable file, or script, giving the names of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cmckni3 @jamonholmgren you could fork https://github.com/straw-hat-team/fetcher and downgrade to
"@straw-hat/cli": "0.10.1"
since that version has declarations on it.Run
yarn release
and notice that it will fail.@jamonholmgren confirmed, this behavior is happening and it is not using
node-ts
. I will try to put an example project for you,