Error generating metadata in test_component (status=255)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, nodejs, python
- Ambito
- build-system, tooling
Direzione di ricerca
Start by reproducing the failure with npm run build in the generated dash component boilerplate, using the example JavaScript component and the reported Windows/Python 3.8 setup. Inspect the output from dash-generate-components and the surrounding build:py_and_r command; done means identifying the cause and getting a freshly generated example component through the build successfully.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello,
I have been having an issue with the dash component boilerplate not generating my components. When I execute
npm run build
It generates the following error
`Error generating metadata in test_component (status=255)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:py_and_r: dash-generate-components ./src/lib/components test_component -p package-info.json --r-prefix ''
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:py_and_r script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mabadir\AppData\Roaming\npm-cache_logs\2020-06-15T15_43_13_527Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: npm run build:js && npm run build:py_and_r
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mabadir\AppData\Roaming\npm-cache_logs\2020-06-15T15_43_13_559Z-debug.log
To test whether this was something that was wrong with my javascript, I ran the cookiecutter command again in a new python project to create a new component. For set up I selected the following
You've downloaded C:\Users\mabadir.cookiecutters\dash-component-boilerplate before. Is it okay to delete and re-download it? [yes]:
project_name [my dash component]: Test Component
project_shortname [test_component]:
component_name [TestComponent]:
r_prefix []:
author_name [Enter your first and last name (For package.json)]: MA
author_email [Enter your email (For package.json)]: ma
github_org []:
description [Project Description]: testing
Select license:
1 - MIT License
2 - BSD License
3 - ISC License
4 - Apache Software License 2.0
5 - GNU General Public License v3
6 - Not open source
Choose from 1, 2, 3, 4, 5, 6 [1]:
publish_on_npm [True]: False
install_dependencies [True]:
Executing: c:\python38\python.exe -m venv venv
From there I tried npm run build on the example javascript component provided, and it still gave me the above error. Can you please advise?
Edit: Forgot to mention that it was working before.
- Lingua principale
- Python
- Stelle
- 295
- Fork
- 196
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di plotly/dash-component-boilerplate
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
Unable to create projectAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
plotly/dash-component-boilerplate#173 · 1 commento ·
-
Update repo to use react 18 by defaultForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
plotly/dash-component-boilerplate#170 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
plotly/dash-component-boilerplate#166 · 1 reazione ·
-
Running buildAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Tutte le issue di plotly/dash-component-boilerplate
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
huggingface/smolagents#2976 ·
I maintainer di solito rispondono entro 1 giorno
-
bug Triage-Needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
FuRongJun-1999/dsh-memory#170 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pgvector/pgvector-python#163 ·
-
[开源推荐] 打拼音就出篆书的输入法,附古文字创作小工具Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
521xueweihan/HelloGitHub#3940 ·