Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Internal server error: Preprocessor dependency "sass" not found. Did you install it? #242

Open
xiangnanscu opened this issue May 21, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@xiangnanscu
Copy link

Versions

nuxt-vite: latest
nuxt: latest

Reproduction

app.vue

<script setup>

</script>
<template>
  <div>
    <h1>app.vue</h1>
    <NuxtLayout>
      <NuxtPage/>
    </NuxtLayout>
  </div>
</template>

<style lang="scss">
@import "node_modules/bootstrap/scss/bootstrap.scss";
</style>

Description

run command

nuxt dev
@xiangnanscu xiangnanscu added the bug Something isn't working label May 21, 2022
@xiangnanscu
Copy link
Author

Should not the sass preprocessor enable by default ?

@lumdzeehol
Copy link

vite is mainly a module builder, it should not integrate with style preprocessor i think.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants