Navigation Menu

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

Error reported using sass preprocessor #56

Closed
ruibaby opened this issue Mar 19, 2022 · 0 comments
Closed

Error reported using sass preprocessor #56

ruibaby opened this issue Mar 19, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ruibaby
Copy link

ruibaby commented Mar 19, 2022

Hi, histoire team.

I used sass prepropressor in my component and got an error, do I need to configure anything?

log:

Error while collecting story /Users/ryanwang/Desktop/vue-project/src/components/HelloWorld.story.vue:
TypeError: render is not a function
    at result (/Users/ryanwang/Desktop/vue-project/node_modules/.pnpm/vite@2.8.6_sass@1.49.9/node_modules/vite/dist/node/chunks/dep-9c153816.js:19156:13)
    at new Promise (<anonymous>)
    at scss (/Users/ryanwang/Desktop/vue-project/node_modules/.pnpm/vite@2.8.6_sass@1.49.9/node_modules/vite/dist/node/chunks/dep-9c153816.js:19155:30)
    at async compileCSS (/Users/ryanwang/Desktop/vue-project/node_modules/.pnpm/vite@2.8.6_sass@1.49.9/node_modules/vite/dist/node/chunks/dep-9c153816.js:18853:34)
    at async TransformContext.transform (/Users/ryanwang/Desktop/vue-project/node_modules/.pnpm/vite@2.8.6_sass@1.49.9/node_modules/vite/dist/node/chunks/dep-9c153816.js:18488:50)
    at async Object.transform (/Users/ryanwang/Desktop/vue-project/node_modules/.pnpm/vite@2.8.6_sass@1.49.9/node_modules/vite/dist/node/chunks/dep-9c153816.js:38334:30)
    at async doTransform (/Users/ryanwang/Desktop/vue-project/node_modules/.pnpm/vite@2.8.6_sass@1.49.9/node_modules/vite/dist/node/chunks/dep-9c153816.js:53030:29)

Reproduction link: https://codesandbox.io/s/blissful-aryabhata-f2txri?file=/src/components/HelloWorld.story.vue

@Akryum Akryum added the bug Something isn't working label Mar 20, 2022
@Akryum Akryum self-assigned this Mar 20, 2022
@Akryum Akryum closed this as completed in d0a2cc9 Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants