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.

apm requires npm@2 module paths #463

Closed

Description

@bengotow

It'd be really great if apm could be assembled with npm@3, since it shortens paths and prevents long paths like apm/node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args/package.json on Windows.

Unfortunately, if you npm install atom-package-manager; npm dedupe using npm 3, it flattens the entire dependency tree into a single, top-level node_modules folder. This causes APM to throw exceptions at runtime at lines like

semver = require 'npm/node_modules/semver'
, because it assumes npm/node_modules/semver will exist. In npm@3, npm and semver are placed in the same directory.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions