Someone can help me, i’m trying to deploy and got this error. Regards
PS C:\Program Files\nodejs\node_modules\npm\hello-word-app> forge deploy --verbose
Deploying your app to the development environment.
Press Ctrl+C to cancel.
Running forge lint...
No issues found.
▶️ GraphQL https://api.atlassian.com/graphql
Query:
query forge_cli_getMigrationKeys($id: ID!, $key: String!) {
app(id: $id) {
environmentByKey(key: $key) {
id
versions(first: 1) {
edges {
node {
isLatest
migrationKeys {
jira
confluence
}
}
}
}
}
marketplaceApp {
appKey
}
}
}
Variables: {
"id": "ari:cloud:ecosystem::app/f294d0b6-5f4f-49de-af6b-f57c22476eb2",
"key": "default"
}
◀️ GraphQL
Request ID: b2649dc44f0097d7
Result: {
"app": {
"environmentByKey": {
"id": "ce6281b4-43f4-4cae-898e-e82485f603e9",
"versions": {
"edges": [
{
"node": {
"isLatest": true,
"migrationKeys": null
}
}
]
}
},
"marketplaceApp": null
}
}
▶️ GraphQL https://api.atlassian.com/graphql
Query:
query forge_cli_getApplicationInstallations($id: ID!) {
app(id: $id) {
environments {
key
installations {
id
installationContext,
version {
isLatest
}
}
}
}
}
Variables: {
"id": "ari:cloud:ecosystem::app/f294d0b6-5f4f-49de-af6b-f57c22476eb2"
}
◀️ GraphQL
Request ID: 58342ef4bb77633b
Result: {
"app": {
"environments": [
{
"key": "production",
"installations": []
},
{
"key": "staging",
"installations": []
},
{
"key": "default",
"installations": []
}
]
}
}
Deploying your app to development...
i Packaging app files
Error: Bundling failed: ./src/index.jsx 5:1
Module parse failed: Unexpected token (5:1)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const App = () => {
| return (
> <Fragment>
| <Text>Hello world!</Text>
| </Fragment>
Error: Bundling failed: ./src/index.jsx 5:1
Module parse failed: Unexpected token (5:1)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const App = () => {
| return (
> <Fragment>
| <Text>Hello world!</Text>
| </Fragment>
at AppPackager.package (C:\Users\denis\AppData\Roaming\npm\node_modules\@forge\cli\out\deploy\packager\packager.js:39:23)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async PackageUploadDeployCommand.execute (C:\Users\denis\AppData\Roaming\npm\node_modules\@forge\cli\out\deploy\package-upload-deploy.js:11:45)
at async CommandLineUI.displayProgress (C:\Users\denis\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\@forge\cli-shared\out\ui\command-line-ui.js:44:28)
at async DeployView.reportDeploymentProgress (C:\Users\denis\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\view\deploy-view.js:50:24)
at async DeployController.run (C:\Users\denis\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\controller\deploy-controller.js:122:27)
at async Command.actionProcessor (C:\Users\denis\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\command.js:74:32)