Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Modules in NODE_PATH not recognised by IDE #105

Description

@elis

I'm running my ES6 setup with NODE_PATH=/src/modules which allows me to import stuff from that directory without explicitly pointing to a relative or absolute path;

e.g. in a file /src/modules/app-name/dir/index.js I use import someFunction from 'services/main-service' (resolves to /src/modules/services/main-service/index.js) - ATOM IDE will not recognise the function definition and will just show me import someFunction while if I use a relative path (e.g import someFunction from '../../services/main-service') it works correctly and displays the function definition correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions