Skip to content

npm 7 support #144

Closed
FredKSchott/snowpack
#1666
@benmccann

Description

@benmccann

From RobotWizard on Discord:

npm init svelte@next followed by npm install is broken on npm 7. Need to do npm install --legacy-peer-deps because SvelteKit pulls in an old version of postcss. It's pulled in via Snowpack's usage of css-modules-loader-core, which is a library that looks like it hasn't been touched in a few years. It seems @lukeed was giving this a look at some point: css-modules/css-modules-loader-core#231. The fix might be for Snowpack to use postcss directly and stop using it through css-modules-loader-core. Or for Snowpack to stop using postcss altogether since I'm not really sure why it should necessarily be required

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