Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

webpack not found when using pnpm #826

Copy link
Copy link
Open
@farfromrefug

Description

@farfromrefug
Issue body actions

This happens with all versions of nativescript-dev-webpack
I am trying to use pnpn with {N}. PNPM is a great tool when you work with a lot of npm projects using the same deps. This is the case when you build multiple {N} apps or plugins (i have around 40).
Now pnpm works very well for {N} plugin dev. But it does not work with apps using nativescript-dev-webpack. It won't find webpack

The issue is here. You look for webpack in the root node_modules of the project. But this will only work with flat npm installation. webpack being you dependency you should look for it relatively to nativescript-dev-webpack module folder.
This is explained in the pnpm FAQs

I hope you can fix this one.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.