Skip to content

Had to manually run npm install #40

Open
@davidnormo

Description

@davidnormo

Expected Behavior

  1. Install the package
  2. Add the following to a .js file: let a = 'abc'; a.
  3. Then hit ctrl+space to see autocompletions
  4. Dropdown should appear with options

Actual Behavior

  1. Install the package
  2. Add the following to a .js file: let a = 'abc'; a.
  3. Then hit ctrl+space to see autocompletions
  4. Error in sublime console (ctrl+`):
Error: Cannot find module '~/Library/Application Support/Sublime Text 3/Packages/JavaScript Enhancements/node_modules/.bin/flow'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

To fix I manually cd'd into the Javascript Enhancements directory and ran npm install.

Specifications

  • Sublime Text 3 build: 3143
  • OS: MacOS Sierra 10.12.6
  • JavaScript Enhancements version: 0.16.1

Thanks for making such a helpful package 👍

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