nuxt does not start on Arch

Viewed 1241

I can not start my nuxt development enviroment for 2 days. Before that I had no problem. If I go back to a previous version of the same app, it is also not starting.

npm run dev

> KrisnaNet@1.0.0 dev
> nuxt


 ERROR  (node:3576) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/rrd/public_html/krisnaNet/node_modules/@nuxt/components/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)


   ╭───────────────────────────────────────╮
   │                                       │
   │   Nuxt @ v2.15.4                      │
   │                                       │
   │   ▸ Environment: development          │
   │   ▸ Rendering:   server-side          │
   │   ▸ Target:      static               │
   │                                       │
   │   Listening: http://localhost:3000/   │
   │                                       │
   ╰───────────────────────────────────────╯

ℹ Preparing project for development                                                                                  16:00:33
ℹ Initial build may take a while                                                                                     16:00:33
ℹ Discovered Components: .nuxt/components/readme.md                                                                  16:00:33
✔ Builder initialized                                                                                                16:00:33
✔ Nuxt files generated                                                                                               16:00:33

● Client █████████████████████████ building (43%) 283/293 modules 10 active
 node_modules/setimmediate/setImmediate.js

● Server █████████████████████████ building (23%) 113/121 modules 8 active
 ...ostcss-loader › sass-loader › sass-resources-loader › vue-loader › layouts/default.vue

node: ../src/coroutine.cc:134: void* find_thread_id_key(void*): Assertion `thread_id_key != 0x7777' failed.
fish: Job 1, 'npm run dev' terminated by signal SIGABRT (Abort)
1 Answers

I fixed this by removing fibers (that is responsible for this error) from the dependencies. This might affect the build performance a little bit but everything works for me now.

Related