Skip to content

bundled dependency node-sass@3.2.2 has no node@6 binary #1008

Closed
@robrich

Description

@robrich

Ionic@1.7.14 has a bundleDependency of ionic-app-lib 0.7.0. ionic-app-lib 0.7.0 depends on node-sass ^3.2.2. node-sass 3.2.2 has no node 6.x binary.

When a user runs npm install ionic -g, the ionic tarball downloaded contains ionic-app-lib@0.7.0 and node-sass@3.2.2, so the latest semver appropriate node-sass is not installed. Then the node-sass install script runs, downloading the binary from https://github.com/sass/node-sass/releases. node-sass@3.2.2 doesn't have a node@6 binary, so it falls back to building one. For windows users, this means they must install Python and Visual Studio.

ionic-team/ionic-app-lib#101 gets the latest node-sass into ionic-app-lib. Once published, a new ionic-cli will need to be published to get the new bundled dependency included in ionic.

As a temporary work-around, windows users can downgrade node to 5.x or earlier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions