
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@gooddata/create-gooddata-react-app
Advanced tools
A CLI tool that creates a new React project connected to the GoodData platform
© 2019-2020 GoodData Corporation
This is a CLI tool that creates a new React project with a proxy set up to connect to your projects on the GoodData platform. The new app features some widgets and helpers that could come in handy. The app is built on top of Create React App. For more info see Create React App documentation.
To create a project called my-app
, run this in your terminal (please note the @sdk8
part):
npx @gooddata/create-gooddata-react-app@sdk8 my-app
Then follow the instructions provided by the CLI.
When navigating to your application using an IP address instead of localhost, you may run into 401
errors while trying to log in. This is due to proxying and cookie rewriting rules that the generated application uses to get around CORS. Use localhost instead of IP addresses to access the application because the development server rewrites GDC cookies to be for localhost.
NOTE: We use yarn
dependency manager. To install it, follow its documentation. If you don't want to use yarn
, provide the --no-install
flag like npx @gooddata/create-gooddata-react-app my-app --no-install
. This will skip calling yarn install
and you will have to manually install the dependencies of the created app. Please note that we do not provide package-lock.json
so the application may not work properly when dependencies are installed using npm
.
@gooddata/create-gooddata-react-app
supports several optional flags:
--hostname <hostname>
URL of your GoodData host-c, --config <config>
path to configuration file (see below)--no-install
skip yarn installing the app dependencies--verbose
output additional logs, useful mainly for debugging and bug reports-h, --help
output usage information--backend <backend>
switch backend to a desired one (default: bear)The configuration file has the following structure:
{
"hostname": "(Required) URL of the project hosted, e.g. https://developer.na.gooddata.com",
"appName": "(Optional) name of the app to use"
}
Before running @gooddata/create-gooddata-react-app
, please make sure that you have all compatible technologies installed on your device.
In case there are errors while running @gooddata/create-gooddata-react-app
, please try these steps.
Sometimes having older versions of @gooddata/create-gooddata-react-app
can cause errors. In that case please remove any previously installed versions by running
npm uninstall -g @gooddata/create-gooddata-react-app
yarn global remove @gooddata/create-gooddata-react-app
You can force npx
to use latest version of the tool by running
npx --ignore-existing @gooddata/create-gooddata-react-app my-app
You can increase the logging level of @gooddata/create-gooddata-react-app my-app
by providing the --verbose
flag like
npx @gooddata/create-gooddata-react-app my-app --verbose
FAQs
A CLI tool that creates a new React project connected to the GoodData platform
The npm package @gooddata/create-gooddata-react-app receives a total of 10 weekly downloads. As such, @gooddata/create-gooddata-react-app popularity was classified as not popular.
We found that @gooddata/create-gooddata-react-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 75 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.