vuematerial / vue-material

Vue.js Framework - ready-to-use Vue components with Material Design, free forever.
https://www.creative-tim.com/vuematerial
MIT License
9.88k stars 1.16k forks source link

How to rebuild vue-material with Node 14.x LTS? #2290

Open rd-mario-linz opened 3 years ago

rd-mario-linz commented 3 years ago

We use node 14.x LTS as node environment.

How can I rebuild vue-material for this node environment? We also using yarn 2 with nodeLinker: node-modules configuration to get the old node_modules directory.

Here my output by build:

➤ YN0007: │ vue-material@npm:1.0.0 must be built because it never did before or the last one failed
➤ YN0009: │ vue-material@npm:1.0.0 couldn't be built successfully (exit code 127, logs can be found here: /tmp/xfs-9d048147/build.log)
➤ YN0009: │ vue-material@npm:1.0.0 couldn't be built successfully (exit code 127, logs can be found here: /tmp/xfs-9d048147/build.log)

Here the output after rebuild:

yarn rebuild vue-material
➤ YN0000: ┌ Link step
➤ YN0062: │ fsevents@patch:fsevents@npm%3A2.1.3#builtin<compat/fsevents>::version=2.1.3&hash=127e8e The platform linux is incompatible with this module, linking skipped.
➤ YN0062: │ fsevents@patch:fsevents@npm%3A1.2.13#builtin<compat/fsevents>::version=1.2.13&hash=127e8e The platform linux is incompatible with this module, linking skipped.
➤ YN0007: │ core-js@npm:3.7.0 must be built because it never did before or the last one failed
➤ YN0007: │ vue-material@npm:1.0.0 must be built because it never did before or the last one failed
➤ YN0007: │ yorkie@npm:2.0.0 must be built because it never did before or the last one failed
➤ YN0007: │ highlight.js@npm:9.18.4 must be built because it never did before or the last one failed
➤ YN0007: │ ejs@npm:2.7.4 must be built because it never did before or the last one failed
➤ YN0007: │ core-js@npm:2.6.11 must be built because it never did before or the last one failed
➤ YN0007: │ deasync@npm:0.1.21 must be built because it never did before or the last one failed
➤ YN0009: │ vue-material@npm:1.0.0 couldn't be built successfully (exit code 127, logs can be found here: /tmp/xfs-7d1459ba/build.log)
➤ YN0009: │ vue-material@npm:1.0.0 couldn't be built successfully (exit code 127, logs can be found here: /tmp/xfs-7d1459ba/build.log)
➤ YN0000: └ Completed in 17s 125ms
➤ YN0000: Failed with errors in 21s 166ms
cboissel-onf commented 2 years ago

Did you find a solution for this? I get the same error.

gjermundgaraba commented 2 years ago

I have no knowledge of this error as I just moved over from npm to yarn, but for me it worked to remove "chokidar" from our devDependencies which was added as a workaround to another npm issue.