I ran command from my terminal "live-server public", since my public folder within my project root folder contains index.html, which is the entry point for my web application. However, I am getting the error "env: node\r: No such file or directory". However, I do have the public folder, so what could be the cause of this?
Starting up a Live Server via live-server command not working: env: node\r: No such folder or file
925 Views Asked by user19417266 At
1
There are 1 best solutions below
Related Questions in NPM-LIVE-SERVER
- Liver Server console error when updating my app.js file in VScode?
- How to use Live Server extention in VS code IDE to run NodeJs, Express Web App
- How to use live-server with parameter routes
- Can I use npm packges in a vanilla web page?
- (Node.JS) NodeRequire does not succeed/find module when launching Microsoft Edge Instance
- Live-server alternatives for node 6.10
- VSCode/NodeJS live-server execution issue
- npm live-server doesn't refresh the page
- Image does not appear in webpage rendered by live-server
- nodejs installation error i cannot understand how to resolve this npm problem
- Is there a way to use node modules when running a live server
- NPM's Live Server not allowing local files and folders in HTML file
- Live Server Command Not Found, after global install
- Getting 404 while using json-server
- 'Cannot get' + path when refreshing through liveserver
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I experienced the same issue (Mac OS Big Sur, 11.6.5), and I discovered that the issue appears for
live-server1.2.2. If you downgrade to version 1.2.1 everything should be fine. Hope that helps!