You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The process.env.PWD is used at least 3 times in this project. On my work machine (Windows 7, node v6) this variable is undefined and cause an error with webpack (Module build failed. Type Error: Path must be a string. Received undefined from src/utils/buildMessageBlocks.js#L21).
I think the way to go is to use process.cwd() which will always return a value although not the same thing as PWD.
Here is my quickfix at the top of my webpack.config.json waiting for a fix for those interested
Hello,
The
process.env.PWD
is used at least 3 times in this project. On my work machine (Windows 7, node v6) this variable is undefined and cause an error with webpack (Module build failed. Type Error: Path must be a string. Received undefined
from src/utils/buildMessageBlocks.js#L21).I think the way to go is to use
process.cwd()
which will always return a value although not the same thing asPWD
.Here is my quickfix at the top of my
webpack.config.json
waiting for a fix for those interestedThe text was updated successfully, but these errors were encountered: