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

1.2.0 Error: Path must be a string. Received undefined under Nodejs 6 #155

Open
immccc opened this issue Oct 24, 2016 · 0 comments
Open

Comments

@immccc
Copy link

immccc commented Oct 24, 2016

I can't get rid of this error when running the grunt contrib stylus task:

Running "stylus:files" (stylus) task
Verifying property stylus.files exists in config...OK
Files: resources/styles/general.styl
Options: banner="", compress, paths=["resources/styles"], relativeDest="out"
Warning: Path must be a string. Received undefined Use --force to continue.

Aborted due to warnings.

Behold the options currently defined in gruntfile.js:

        stylus: {
          options: {
            paths: ['resources/styles'],
            relativeDest: 'out'
          },
          files: {
            src: ['resources/styles/*.styl'],
            ext: '.css'
          }
        },

After realizing that I am not skipping anything required and looking for a response about this issue, I found that there is an open related issue: webpack-contrib/stylus-loader#115 , but the developers solved by its own project (which makes sense after all)

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

No branches or pull requests

1 participant