Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

ReferenceError: msg is not defined #39

Closed
nblackburn opened this issue Jul 29, 2016 · 3 comments
Closed

ReferenceError: msg is not defined #39

nblackburn opened this issue Jul 29, 2016 · 3 comments

Comments

@nblackburn
Copy link
Contributor

nblackburn commented Jul 29, 2016

msg is undefined as it's dependant on data existing to be defined.

brunch watch --server

29 Jul 16:07:45 - info: application started on http://localhost:3333/
29 Jul 16:07:49 - info: compiling
29 Jul 16:07:55 - info: compiling.
/Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/deppack/lib/resolve.js:68
  err = new Error(msg);
                  ^

ReferenceError: msg is not defined
  at glob.then.mods.forEach.friendlyRequireError (/Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/deppack/lib/resolve.js:68:19)
  at /Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/deppack/lib/resolve.js:90:17
  at /Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/browser-resolve/index.js:265:24
  at /Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/resolve/lib/async.js:55:18
  at load (/Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/resolve/lib/async.js:69:43)
  at onex (/Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/resolve/lib/async.js:92:31)
  at /Users/[USERNAME]/Workspace/[PROJECT_NAME]/node_modules/resolve/lib/async.js:22:47
  at FSReqWrap.oncomplete (fs.js:82:15)
@lukerollans
Copy link

@paulmillr I'm getting a similar issue while working on a Phoenix app.

Do you have a timeline for when this will be out on npm?

[info] Running Sightseer.Endpoint with Cowboy using http://localhost:4000
/Users/lukerollans/code/sightseer/node_modules/deppack/lib/resolve.js:68
  err = new Error(msg);
                  ^

ReferenceError: msg is not defined
  at friendlyRequireError (/Users/lukerollans/code/sightseer/node_modules/deppack/lib/resolve.js:68:19)
  at browserResolve (/Users/lukerollans/code/sightseer/node_modules/deppack/lib/resolve.js:90:17)
  at /Users/lukerollans/code/sightseer/node_modules/browser-resolve/index.js:265:24
  at /Users/lukerollans/code/sightseer/node_modules/resolve/lib/async.js:46:14
  at process (/Users/lukerollans/code/sightseer/node_modules/resolve/lib/async.js:173:43)
  at ondir (/Users/lukerollans/code/sightseer/node_modules/resolve/lib/async.js:188:17)
  at load (/Users/lukerollans/code/sightseer/node_modules/resolve/lib/async.js:69:43)
  at onex (/Users/lukerollans/code/sightseer/node_modules/resolve/lib/async.js:92:31)
  at /Users/lukerollans/code/sightseer/node_modules/resolve/lib/async.js:22:47
  at FSReqWrap.oncomplete (fs.js:117:15)

@nblackburn
Copy link
Contributor Author

@lukerollans It's fixed, just waiting for it to be released which i imagine will fall in line with the next brunch release.

@paulmillr
Copy link
Contributor

pushed

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

No branches or pull requests

3 participants