Skip to content

nuxt buefy typescript error ? #262

Description

@iznotek

hye, it seem to be a bigint problem caused by 0.039_28... but i do not understand ? any idea...

in ./node_modules/bulma-css-vars/node_modules/color/index.js                  friendly-errors 15:54:32

Module parse failed: Identifier directly after number (257:26)                        friendly-errors 15:54:32
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|               for (const [i, element] of rgb.entries()) {
|                       const chan = element / 255;
>                       lum[i] = (chan <= 0.039_28) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
|               }
| 
                                                                                      friendly-errors 15:54:32
 @ ./node_modules/bulma-css-vars/dist/bulma-color-tools.js 4:14-30
 @ ./node_modules/bulma-css-vars/dist/index.js
 @ ./node_modules/esbuild-loader/dist??ref--11-0!./node_modules/vue-loader/lib??vue-loader-options!./components/layout/Navbar.vue?vue&type=script&lang=ts&
 @ ./components/layout/Navbar.vue?vue&type=script&lang=ts&
 @ ./components/layout/Navbar.vue
 @ ./.nuxt/components/index.js
 @ ./.nuxt/components/plugin.js
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./.nuxt/color-mode/script.js ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js

thanks

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