Coder Social home page Coder Social logo

alfred-emoji's Issues

Installation error - path/file can't be found

Thanks for your quick response to the previous issue! So I've tried a few times/ways to install (reinstalling, removing, ensuring npm was updated), but they all gave me this error:

npm ERR! path /usr/local/lib/node_modules/alfred-emoji/node_modules/match-sorter/node_modules/diacritic
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/alfred-emoji/node_modules/match-sorter/node_modules/diacritic' -> '/usr/local/lib/node_modules/alfred-emoji/node_modules/match-sorter/node_modules/.diacritic.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

I also ensured that my node.js was up-to-date by installing nvm. When doing so I got a tree of packages that showed what might be useful info for alfred-emoji:

89a09de7-ff63-406b-802b-e9e50433d5c1

npm install -g alfred-emoji fails

Stacktrace:

❯ npm install -g alfred-emoji

> [email protected] postinstall /Users/jordyvandomselaar/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-emoji/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> [email protected] postinstall /Users/jordyvandomselaar/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-emoji
> alfy-init

Error: Command failed: alfred-link
Error: `Alfred.alfredpreferences` package does not exist
    at /Users/jordyvandomselaar/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-emoji/node_modules/alfred-link/index.js:27:12


    at makeError (/Users/jordyvandomselaar/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-emoji/node_modules/execa/index.js:174:9)
    at /Users/jordyvandomselaar/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-emoji/node_modules/execa/index.js:278:16
    at processTicksAndRejections (internal/process/task_queues.js:89:5) {
  code: 1,
  stdout: '',
  stderr: 'Error: `Alfred.alfredpreferences` package does not exist\n    ' +
    'at ' +
    '/Users/jordyvandomselaar/.nvm/versions/node/v12.4.0/lib/node_modules/alfred-emoji/node_modules/alfred-link/index.js:27:12\n',
  failed: true,
  signal: null,
  cmd: 'alfred-link',
  timedOut: false,
  killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `alfy-init`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jordyvandomselaar/.npm/_logs/2019-07-31T12_01_59_284Z-debug.log

Object.entries is not a function

TypeError: Object.entries is not a function
    at Object.<anonymous> (/usr/local/lib/node_modules/alfred-emoji/node_modules/@jukben/emoji-search/lib/index.js:20:22)
    at Object.<anonymous> (/usr/local/lib/node_modules/alfred-emoji/index.js:5:16)

Emoji 0.0.3
Alfred 3.5.1
darwin x64 17.2.0

Any way to resolve this with npm?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.