Skip to content

ReferenceError: btoa is not defined #39

@adriankremer

Description

@adriankremer

During static html rendering it complains that 'btoa' is not defined because the vue-live.esm.js seems to be only dedicated to browsers

Node: v12.16.3
System: osx
Special: lerna mono repo with hoisted modules

[Vue warn]: Error in beforeCreate hook: "ReferenceError: btoa is not defined"

found in
--> <VueLivePreviewComponent>
       <VueLivePreview>
         <V2df803a2>
           <Content>
             <Anonymous>
               <GlobalLayout>
                 <Root>
error Error rendering /documentation/components/button.html: false
undefined
ReferenceError: btoa is not defined
at addStyle (../node_modules/vue-live/dist/vue-live.esm.js:511:0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions