question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI does not respond

See original GitHub issue

I’m been trying to execute the CLI (yarn run lint:hbs) and it always hangs.

The script corresponds to executing ember-template-lint .. It just doesn’t return anything, no errors or any feedback.

If I have the ember server at the same time and I kill the server, then the template lint resolves with an error like this:

➜ yarn run lint:hbs
yarn run v1.10.1
$ ember-template-lint .
/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:51
      throw err;
      ^

Error: ENOENT: no such file or directory, scandir '/Users/josemarluedke/code/my-project/my-project-ui/tmp/funnel-input_base_path-UwzVJtkb.tmp/tmp/broccoli_merge_trees-output_path-N9ZUxHR7.tmp/tests/addon-test-support'
    at Object.readdirSync (fs.js:764:3)
    at exports.readdir (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/sync/fs.js:18:20)
    at Object.safeCall [as safe] (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:24:8)
    at DirectoryReader.readNextDirectory (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:78:10)
    at Readable.DirectoryReader.stream._read (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:57:18)
    at Readable.read (_stream_readable.js:452:10)
    at maybeReadMore_ (_stream_readable.js:569:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
    at startup (internal/bootstrap/node.js:279:19)
Emitted 'error' event at:
    at DirectoryReader.emit (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:365:14)
    at call.safe (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:81:14)
    at onceWrapper (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:45:17)
    at onceWrapper (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:45:17)
    at exports.readdir (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/sync/fs.js:22:5)
    at Object.safeCall [as safe] (/Users/josemarluedke/code/my-project/my-project-ui/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:24:8)
    [... lines matching original stack trace ...]
    at maybeReadMore_ (_stream_readable.js:569:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜ ember -v

ember-cli: 3.4.3
node: 10.11.0
os: darwin x64

I have v1.0.0-beta.6 of ember-template-lint

If desired, I can create a reproduction of this problem.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rwjbluecommented, Jan 12, 2019

Yes, sounds absolutely fine to me.

1reaction
Duder-onomycommented, Jan 11, 2019

@jasonmit Yes, we have a mono-repo in so far as we are using yarn workspaces, in-repo-addons and in-repo-async-engines.

I will add a .gitignore as a sibling to all of the package.json’s in the workspace and report back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Unresponsive Terminal - Learning the UNIX ... - O'Reilly
The Unresponsive Terminal During your UNIX session (while you're logged in), your terminal may not respond when you type a command, or the...
Read more >
What should I do if command prompt is not responding in my ...
Restart Your Windows 10 PC. · Temporarily Disable Antivirus Software. · Modify PATH Environment Variables Settings. · Create a New User Account. ·...
Read more >
Troubleshooting AWS CLI errors - AWS Command Line Interface
Confirm that your AWS CLI is configured. Various errors can occur if your config and credentials files or your IAM user or roles...
Read more >
heroku cli commands not responding on windows 10 #623
Go to the Heroku AppData directory ( %LOCALAPPDATA%\heroku in Windows). · Look for the autoupdate and autoupdate.log files. · Delete both these ...
Read more >
redis-cli command not responding - Stack Overflow
Install the redis node with the default settings: IP 127.0.0.1 and port 6379. Then when you use redis-cli it will autoconnect to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found