Coder Social home page Coder Social logo

Comments (4)

lucamug avatar lucamug commented on June 16, 2024 5

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.

francisdb avatar francisdb commented on June 16, 2024

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.

erlandsona avatar erlandsona commented on June 16, 2024

Anyone have a fork with this fixed? Been dealing with this same issue as well.

from elm-live.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.