question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

brunch ignores NODE_PATH env variable

See original GitHub issue
NODE_PATH=~/project/env/lib/node_modules/ brunch build

~/project/env/lib/node_modules/brunch/lib/watch.js:358
            throw new Error("You probably need to execute `npm install` to ins
                  ^
Error: You probably need to execute `npm install` to install brunch plugins. Error: Cannot find module '~/project/project/webapp/node_modules/javascript-brunch'
    at ~/project/env/lib/node_modules/brunch/lib/watch.js:358:19

node.js 0.11.4, brunch 1.7.0

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
shvaikaleshcommented, Oct 30, 2017

Seems like an easy fix. Given solid use case, I am happy to implement it for 3.0

0reactions
ccutchcommented, Oct 30, 2017

Thank @shvaikalesh you the man

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure NODE_PATH environment variable doesn't have any ...
NODE_PATH env variable is set via "Application settings" -> "App settings" and is echoed correctly. However, it doesn't have any effect.
Read more >
Babel - Bountysource
As the title says, babel-plugin-transform-inline-environment-variables doesn't seem to work with react-native. I'm not sure if it is supposed to work?
Read more >
Configuring Environment Variables in Node.js - YouTube
Hey guys, recently one of you asked a question in the MERN playlist. It was about managing environment variables, like MongoDB credentials, ...
Read more >
nightscout/intend-to-bolus - Gitter
I can't tell if I have the wrong NODE_PATH set, or if the env variable is not propagating all the way to the...
Read more >
Neos CMS Documentation - Read the Docs
Neos exposes some default variables to the Fusion context that can ... Through the nodePath property, the name of the Neos ContentRepository.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found