mjmlio / atom-mjml-preview

MJML preview in Atom
https://atom.io/packages/mjml-preview
MIT License
20 stars 4 forks source link

installation seems to be broken #22

Closed joergi closed 4 years ago

joergi commented 4 years ago

I installed a fresh Atom from the Atom website (version: 1.45.0) NPM Version: 6.14.3 no new packages are installed

from command line: $ apm install mjml-preview

short log:

$ apm install mjml-preview
Installing mjml-preview to /home/joergi/.atom/packages ✗

> core-js@2.6.11 postinstall /tmp/apm-install-dir-12036-8487-lrpcvd.hkxis/node_modules/mjml-preview/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
Aborted (core dumped)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/mjml-preview/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-12036-8487-lrpcvd.hkxis/package.json'
npm WARN apm-install-dir-12036-8487-lrpcvd.hkxis No description
npm WARN apm-install-dir-12036-8487-lrpcvd.hkxis No repository field.
npm WARN apm-install-dir-12036-8487-lrpcvd.hkxis No README data
npm WARN apm-install-dir-12036-8487-lrpcvd.hkxis No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! core-js@2.6.11 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR! Exit status 134
npm ERR! 
npm ERR! Failed at the core-js@2.6.11 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

long log file is attached 2020-04-06T11_35_28_888Z-debug.log

Is this plugin still supported? Last update was like 2 years ago

iRyusa commented 4 years ago

Most likely an issue with coreJs on your part not really related to the plugin here. Try to update to latest atom/node/apm and try again