Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a variable name that cause elm-live to crash in several circumstances #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucamug
Copy link
Contributor

@lucamug lucamug commented Aug 20, 2020

This is causing elm-live to crash with error

internal/fs/utils.js:581
    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:317:10)
    at /Users/lucamug/p/elm-live/node_modules/crocks/Async/index.js:54:10
    at Object.fork (/Users/lucamug/p/elm-live/node_modules/crocks/Async/index.js:155:20)
    at /Users/lucamug/p/elm-live/node_modules/crocks/Async/index.js:254:41
    at settle (/Users/lucamug/p/elm-live/node_modules/crocks/Async/index.js:151:16)
    at ReadFileContext.callback (/Users/lucamug/p/elm-live/node_modules/crocks/Async/index.js:56:47)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:261:13) {
  code: 'ERR_INVALID_ARG_TYPE'
}```

@netlify
Copy link

netlify bot commented Aug 20, 2020

Deploy request for elm-live pending review.

Review with commit f74f9d0

https://app.netlify.com/sites/elm-live/deploys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant