Skip to content

Error: Cannot find module '/home/current/working/directory/'  #67

@jbolila

Description

@jbolila

vim-jsbeautify/plugin/beautify.min.js is failing on the require(path), any clue?

(js-beautify is working well on Node, and is in the latest version)

doesn't matter what is defined on the .editorconfig

{
  'jsx': {}, 
  'js': {'path': '/usr/lib/node_modules/js-beautify/js/lib/beautify.js', 'space-in-paren': 'true', 'indent_style': 'space', 'indent_size': '2', 'bin': 'node'}, 
  'json': {}, 
  'html': {'indent_style': 'space', 'indent_size': '2'}, 
  'css': {'indent_style': 'space', 'indent_size': '2'}
}

is always using the same path inside the bundle at load (/home/myhome/.vim/bundle/vim-jsbeautify/plugin/beautify.min.js:1:1175)

[node: v0.10.32, npm: 2.1.4]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions