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.

/usr/bin/env: ‘nod’: No such file or directory

See original GitHub issue

Hi! I am getting the following when running the cli without ts-node:

$ ./node_modules/typeorm-seeding/dist/cli.js 
/usr/bin/env: ‘nod’: No such file or directory

versions:

  • typeorm-seeding: 1.6.1
  • typeorm: 0.2.28
  • node: 12.19.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
LucienLeecommented, Mar 22, 2021

could you publish the fix to npm?

1reaction
AaronNGraycommented, Jul 19, 2021

@geritol ts-node C:\Users\aaron\GitHub\typeorm-seeding\src\cli.ts seed works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

run npm command gives error "/usr/bin/env: node: No such file ...
I installed via sudo make install. npm still fails: /work/qpp$ sudo npm install -g grunt-cli /usr/bin/env: node: No ...
Read more >
Cannot install NodeJs: /usr/bin/env: node: No such file or ...
This problem does not occur with Ubuntu 20.04. sudo apt-file find /usr/bin/node lists nodejs: /usr/bin/node . That is, installing the nodejs package installs ......
Read more >
"/usr/bin/env: 'node': No such file or directory" even though it is ...
I'm trying to get nodejs working. However, it tells me that node is not in my bin even though I downloaded the binary...
Read more >
Error usr bin env node No such file or directory - Edureka
I installed node js and npm via apt-get install and all of the dependencies, then I installed browserify npm install browserify -g.
Read more >
run npm command gives error “/usr/bin/env: node: No such file ...
I stucked in this issue while setting up a project an I've found this is often a misnaming error, if you install from...
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