angular-seed icon indicating copy to clipboard operation
angular-seed copied to clipboard

angular-seed SCSS error

Open altipla-developer1 opened this issue 7 years ago • 1 comments

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

altipla-developer1 avatar Nov 21 '18 19:11 altipla-developer1

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)

ArminZol avatar Dec 30 '18 04:12 ArminZol