question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React: Unknown option: '--publishable'

See original GitHub issue

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I’m reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)

Expected Behavior

When --publishable is appended to the React library-generation schematic, a publishable React library should be created.

Current Behavior

Screen Shot 2019-06-25 at 5 10 29 PM

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. ng g @nrwl/react:lib some-library-name --publishable

Context

Please provide any relevant information about your setup:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
johannesschobelcommented, Jul 17, 2019

please note that the --publishable option does not work for ng g @nrwl/workspace:lib <NAME> either…

3reactions
jaysoocommented, Aug 15, 2019

@Hotell Hey, no updates yet but soon. I’ve been doing other enhancements for React, and this is on my list for August (this month). So stay tuned!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack / Babel / React build error: "Unknown option
I'm trying to build a project with webpack and react with this webpack config: var ...
Read more >
Publish React components as an npm package | by JB
This article will review how to publish React components as an npm package with Babel 7 (the latest version at the time of...
Read more >
nrwl-nx/community - Gitter
Hey folks I'm having issues building publishable libraries that depend on other publishable libraries. I found this issue nrwl/nx#602 and read it through...
Read more >
How To Set Up a React Project With Parcel - DigitalOcean
In this tutorial, you will set up a React web app with Parcel. ... Up a React Project With Parcel. Published on December...
Read more >
Make your react component generic with Typescript - Medium
Sometimes, while developing a ReactJS or React Native component, ... is to add a property with an embracing name and let it receive...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found