You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The code containing Numeric Separators is part of the color library (source code), which is used by this package.
Which node version do you use?
Numeric Separators are supported by NodeJS since version 12.5.0, which is the current LTS. If you use an older version, you should update to v12 anyways.
If you use NodeJS v12 or higher, this seems to be a problem of nuxt, the vue-loader or the ts-loader.
The only action point I see for me is
notifying the color maintainers to set the engines value in package.json to a minimum of 12.5.0 (PR)
setting the engines value in package.json for bulma-css-vars to a minimum of 12.5.0
Can you please get back to me if the issue was an outdated NodeJS version?
hye, it seem to be a bigint problem caused by 0.039_28... but i do not understand ? any idea...
thanks
The text was updated successfully, but these errors were encountered: