Lwc: Docs say "npm install lwc" but NPM's lwc is something else

Created on 7 Jun 2019  路  5Comments  路  Source: salesforce/lwc

The docs show:

image

but after installing I realized this is NOT lwc but something from someone else: https://www.npmjs.com/package/lwc points to https://github.com/neo/npm-lwc

open source

Most helpful comment

@mattgoldspink thanks matt a PR was merged yesterday, will land in the doc site shortly.
For the other issue, I'm working on making lwc the package with all the things so @caridy is happy :)

Thanks a lot for the feedback.
Will close this once we fix this items.

All 5 comments

It's also worth noting the comment here: https://www.npmjs.com/package/@lwc/engine says

@lwc/engine is a private package that handles the runtime for LWC. Don't use this package directly; instead, use lwc.

which should probably also be corrected to point to something else (I'm not sure what though).

@mattgoldspink thanks matt a PR was merged yesterday, will land in the doc site shortly.
For the other issue, I'm working on making lwc the package with all the things so @caridy is happy :)

Thanks a lot for the feedback.
Will close this once we fix this items.

yes @diervo, make my happy! 馃槂

Docs isn't updated yet, @diervo.

https://lwc.dev/guide/install#npm

We should be good now.

Was this page helpful?
0 / 5 - 0 ratings