Open etroynov opened 7 years ago
@etroynov thanks for reaching us out! Trying to figure out what is the cause of your issue.
Take a look at this:
… … … TypeError: Path must be a string. Received undefined
Probably, you're passing an undefined
in one of path
's methods. Please check your paths.
@etroynov hey, I've created a repo, but can't reproduce your problem. Can you, please, change this repo to make it possible to reproduce this issue. Thanks.
thanks for answers, i try reproduce this problem by using this repo.
I reproduce problem in this repo: https://github.com/etroynov/stylus-brunch-issue-63
I update config, нor some reason he does not see path:
brunch:pipeline Dependencies web/static/app.styl @ StylusCompiler +84ms
(node:20341) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Path must be a string. Received undefined
any news?
Thanks for repo! Currently, I'm involved in other issues. Gonna come back asap. I've saved that for future.
Same here.
Got unhandled rejected promise
when phoenix server started
(node:54115) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Path must be a string. Received undefined
I reproduce problem in this repo: https://github.com/etroynov/stylus-brunch-issue-63
@timnew does this repo reproduce your problem too?
The problem is solved if you update your brunch version in package.json
to 2.10.9
.
Or probably if you use an older version of stylus-brunch.
It seems some changes were made between versions to the getDependencies
call in older versions it doesn't pass a file as parameter but data, path etc. .
Hi,
When i try start brunch, i see error:
my brunch-config.js
package.json:
Environment:
P.S When i remove or replace sylus ( as example LESS ), all works fine.