Comments (4)
I've got the same issue, running hotel start
gives me Load failed: 5: Input/output error
on Big Sur.
Node: 15.5.1
Npm: 7.3.0
Hotel: 0.8.7
from hotel.
I have this error as well, but I was able to narrow it down to a single server which hotel was trying to start (which I'll call "wiki"). Looking in ~/.hotel/daemon.log, I saw the app which was erroring. Once I recognized the server, I removed it (hotel rm wiki) from the hotel config, and hotel started correctly.
When I run the "hotel start wiki" from the desktop for that server, I got an error from Node. So the error is not with hotel, but the specific server.
It may or not be related, but I also ran this during debugging, but I don't think that altered anything.
launchctl unload ~/Library/LaunchAgent/hotel.plist
launchctl load ~/Library/LaunchAgent/hotel.plist
from hotel.
Correction: I still get this error. Hotel must start and then crash, so you only get the error when you try to start it again. Then I see:
12:54:50 - Watching /Users/patrick.gardella/.hotel/servers
create /Users/patrick.gardella/.hotel/daemon.pid 9682
node:internal/fs/utils:879
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (9682)
at Object.writeFileSync (node:fs:2148:5)
at Object.create (/Users/patrick.gardella/.nvm/versions/node/v16.14.0/lib/node_modules/hotel/lib/pid-file.js:18:13)
at Object.<anonymous> (/Users/patrick.gardella/.nvm/versions/node/v16.14.0/lib/node_modules/hotel/lib/daemon/index.js:20:9)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'ERR_INVALID_ARG_TYPE'
I also removed the .hotel folder entirely to force a reinstallation.
Node: 16.14.0
Npm: 8.5.4
Hotel: 0.8.7
from hotel.
I am on Big Sur too, got the same error when I was on Node 14 (v14.20.0). When tried with Node 12 (v12.22.0) it worked correctly.
from hotel.
Related Issues (20)
- How to uninstall HOT 1
- ERR_CONNECTION_REFUSED HOT 1
- Proxy servers without starting them? HOT 2
- Path segments after service name not proxying correctly
- Add exceptions for Top Level Domains (TLD) HOT 3
- [FEATURE] pass by environment name of current app HOT 1
- [PROBLEM] Few problems - proxy on chrome, invalid host header with create-react-app
- ERR_INVALID_ARG_TYPE on macOS 10.15 node v14.1.0 HOT 4
- Anyone know a solid alternative? Too many crashes these days... HOT 4
- Typ
- ERR_CONNECTION_REFUSED HOT 2
- Allow overwriting CORS headers for remote server proxies
- [bug] Doesn't start when use node 14 HOT 4
- Socket hang up error with multiple subdomains Ubuntu 20.04 HOT 1
- ERR_CONNECTION_REFUSED / Connection refused on Windows 10 HOT 1
- Is there a way to change the configuration folder path?
- Run1
- Hotel server not created on M1 mac
- SSL cert.pem and key.pem are not installed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotel.