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

angular-seed SCSS error #2368

Open
altipla-developer1 opened this issue Nov 21, 2018 · 1 comment
Open

angular-seed SCSS error #2368

altipla-developer1 opened this issue Nov 21, 2018 · 1 comment

Comments

@altipla-developer1
Copy link

I'm submitting a ... (check one with "x")

[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior

I'm following the guide (Working with SASS)[https://github.com/mgechev/angular-seed/wiki/Working-with-SASS] and the following error throws.

[12:53:07] Starting 'build.html_css'... TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object at assertPath (path.js:39:11) at Object.dirname (path.js:1268:5) at Object.importer (/home/alobaton/workspace/GOSTOCK/gostock-web/angular-seed/node_modules/node-sass-magic-importer/src/index.ts:92:32) at options.importer (/home/alobaton/workspace/GOSTOCK/gostock-web/angular-seed/node_modules/node-sass/lib/index.js:336:31)

Expected behavior

Compile with out problems.

Please tell us about your environment:

SO: Ubuntu 18.04.1 LTS 64 Bits
RAM: 11,1 GiB
Processor: AMD® A10-9600p radeon r5, 10 compute cores 4c+6g × 4

  • Angular Seed Version: aaaaf75
    latest
  • Node: node --version =
    v10.13.0
@ArminZol
Copy link
Contributor

Just to confirm: have you changed all the CSS files to SCSS, still reference all the files as .css from your ts files, and enabled SCSS (for example you can set 'this.ENABLE_SCSS = true;' in your project.config.ts file)

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

2 participants