Skip to content

Error with SCSS #6

Description

@merolhack

When i run:
ionic serve --lab

It show me the next errors:

Running 'serve:before' gulp task before serve
[18:21:59] Starting 'sass'...
[18:21:59] Starting 'html'...
[18:21:59] Starting 'fonts'...
[18:21:59] Starting 'scripts'...
[18:22:00] Finished 'html' after 184 ms
node_modules\ionic-angular\components.core.scss
Error: Import directives may not be used within control directives or mixins.
        on line 31 of node_modules/ionic-angular/components.core.scss
>>   @import "fonts/ionicons";
   --^
[18:22:00] Finished 'sass' after 246 ms
[18:22:00] Finished 'scripts' after 230 ms
[18:22:00] Finished 'fonts' after 285 ms
[18:22:00] Starting 'watch'...
TypeScript error: C:/Users/ProBook/Documents/Mobile-Development/Ionic2/gonehybrid-part5/node_modules/angular2/src/facade/promise.d.ts(1,10): Error TS2661: Cannot re-export name that is not defined in the module.
8.8 MB bytes written (13.41 seconds)
[18:22:18] Finished 'watch' after 18 s
[18:22:18] Starting 'serve:before'...
[18:22:18] Finished 'serve:before' after 137 μs

Running live reload server: http://172.16.11.102:35729
Watching: www/**/*, !www/lib/**/*

And the next CSS files did not exists:

  • /build/css/app.ios.css
  • /build/css/app.wp.css
  • /build/css/app.md.css

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions