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

@forward error on Netlify build #112

Open
mojjjtaba opened this issue Jul 29, 2024 · 1 comment
Open

@forward error on Netlify build #112

mojjjtaba opened this issue Jul 29, 2024 · 1 comment

Comments

@mojjjtaba
Copy link

I want to deploy my code on Netlify but I'm getting en error on Netlify. I don't get this error on local build

@forward 'element-plus/theme-chalk/src/common/var.scss' with (
  $colors: (
    'primary': (
      'base': #155EEF,
    ),
    'warning': (
      'base': #F79009,
    ),
    'danger': (
      'base': #F04438,
    ),
    'error': (
      'base': #F04438,
    ),
    'success': (
      'base': #12B76A,
    ),
  ),
);

error:
6:32:47 PM: [error] x Build failed in 595ms
6:32:47 PM: [error] Nuxt Build Error: [vite:css] [sass] Can't find stylesheet to import.
   ╷
6:32:47 PM: 1  │ ┌ @forward 'element-plus/theme-chalk/src/common/var.scss' with (
6:32:47 PM: 2  │ │   $colors: (
6:32:47 PM: 3  │ │     'primary': (
6:32:47 PM: 4  │ │       'base': #155EEF,
6:32:47 PM: 5  │ │     ),
6:32:47 PM: 6  │ │     'warning': (
6:32:47 PM: 7  │ │       'base': #F79009,
6:32:47 PM: 8  │ │     ),
6:32:47 PM: 9  │ │     'danger': (
6:32:47 PM: 10 │ │       'base': #F04438,
6:32:47 PM: 11 │ │     ),
6:32:47 PM: 12 │ │     'error': (
6:32:47 PM: 13 │ │       'base': #F04438,
6:32:47 PM: 14 │ │     ),
6:32:47 PM: 15 │ │     'success': (
6:32:47 PM: 16 │ │       'base': #12B76A,
6:32:47 PM: 17 │ │     ),
6:32:47 PM: 18 │ │   ),
6:32:47 PM: 19 │ │ );
6:32:47 PM:    │ └─^
@tolking
Copy link
Member

tolking commented Aug 21, 2024

Sorry, I may not be able to help you.

IMO, This is a issues related to Nuxt.

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