I dont see any file at ./node_modules/.bin/rest-hapi-cli
See original GitHub issueDescribe the bug
I don’t see any file at $ ./node_modules/.bin/rest-hapi-cli
to run the command $ ./node_modules/.bin/rest-hapi-cli seed
To Reproduce Steps to reproduce the behavior:
- Cloned the repo using
git clone https://github.com/JKHeadley/rest-hapi-demo.git
cd rest-hapi-demo
npm install
./node_modules/.bin/rest-hapi-cli seed
Expected behavior
After following the above steps it’s saying zsh: no such file or directory: ./node_modules/.bin/rest-hapi-cli
Desktop (please complete the following information):
- OS: Mojave
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
npm scripts don't find files in node_modules/.bin
I can run node_modules/.bin/webpack and everything works. Output of npm config ls looks nearly identical local vs server (same npm and node ......
Read more >How To Use Node.js Modules with npm and package.json
Once the information matches what you see here, press ENTER to complete this process and create the package.json file. With this file, you...
Read more >ts-node - npm
ts-node is a TypeScript execution engine and REPL for Node.js. It JIT transforms TypeScript into JavaScript, enabling you to directly execute ...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
I'm getting the error because I'm trying to import the freeCodeCamp icon from the react-icons package, which I don't have installed. import { ......
Read more >How to Create and Publish Your First Node.js Module
Create a new repo on GitHub and call it “number-formatter” (make sure you check the README box, add a .gitignore file for Node,...
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 Free
Top 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
I just ran into the same problem, using Webstorm to checkout the projet. I reinstalled Node, npm but it didn’t help.
Eventually, I ran the commands (
git clone
,npm install
, …) via command line, and it worked.hi @launay12u,
npm bin
and./node_modules/.bin/rest-hapi-cli seed
should be performed within the directory for the project using rest-hapi (such asrest-hapi-demo
), notrest-hapi
itself.