Comments (4)
Anyone have a fork with this fixed? Been dealing with this same issue as well.
At work we use elm-go
, a clone that we made to fix some issues of elm-live
from elm-live.
I can confirm this issue. I saw it after checking a fresh repo and freshly installing elm-live. I guess it was trying to load the index before it was fully built
elm-live --version
4.0.2
git:(master) elm-live src/Main.elm --open
elm-live:
Server has been started! Server details below:
- Website URL: http://localhost:8000
- Serving files from: /Users/foo/xxx/glmorph
internal/fs/utils.js:535
throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at readFile (fs.js:313:10)
at /Users/foo/.nvm/versions/node/v12.16.3/lib/node_modules/elm-live/node_modules/crocks/Async/index.js:54:10
at Object.fork (/Users/foo/.nvm/versions/node/v12.16.3/lib/node_modules/elm-live/node_modules/crocks/Async/index.js:155:20)
at /Users/foo/.nvm/versions/node/v12.16.3/lib/node_modules/elm-live/node_modules/crocks/Async/index.js:254:41
at settle (/Users/foo/.nvm/versions/node/v12.16.3/lib/node_modules/elm-live/node_modules/crocks/Async/index.js:151:16)
at ReadFileContext.callback (/Users/foo/.nvm/versions/node/v12.16.3/lib/node_modules/elm-live/node_modules/crocks/Async/index.js:56:47)
at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:257:13) {
code: 'ERR_INVALID_ARG_TYPE'
}
from elm-live.
Anyone have a fork with this fixed? Been dealing with this same issue as well.
from elm-live.
Related Issues (20)
- [QUESTION] Plans for tests
- Support multiple proxies
- Option to ignore self signed certificates in proxied services
- elm-live adds "undefined" text to the document HOT 4
- Reload snippet not inserted when using --proxy-host HOT 1
- file watcher does not work on mounted docker volumes HOT 2
- Request for Release that bumps `http-proxy` to >=1.18.1 HOT 4
- Not refreshing when specifying Elm file in folder. Only watches /src folder for changes. HOT 1
- "-- --output=elm.js" not working as expected in PowerShell HOT 1
- Only certain known filetypes are served
- Proxying does not work HOT 7
- Yarn: Output In Wrong Location when using -- --output='file.js' HOT 2
- Support multiple elm apps (mains)
- Saving the same file over and over again quickly causes problems HOT 2
- anchors seem broken in documentation
- elm-live renders empty page, elm reactor renders correctly HOT 1
- Hot-reload mode completely blank HOT 1
- Serving .js files as HTML leading to a blank page HOT 2
- reload code not served through nginx reverse proxy
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 elm-live.