-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'm following the Getting Started tutorial and am unable to run the shoutem push command.
(base) aprilpolubiec@dhcp-892bcdbb girls-trip-shoutem % cd extensions/april-polubiec.restaurants
(base) aprilpolubiec@dhcp-892bcdbb april-polubiec.restaurants % shoutem screen add
(node:88269) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
? Screen name: List
? Create a shortcut (so that screen can be added through the Builder)? Yes
? Shortcut name: Restaurants
? Shortcut title: Restaurants
? Shortcut description: A shortcut for List
app/screens/List.js created
app/extension.js modified:
[+]
[+] // screens imports
[+] import List from './screens/List';
[+]
[+] export const screens = {
[+] List
[+] };
[+]
extension.json modified:
[-] "platform": "1.0.*"
[-]
[+] "platform": "1.0.*",
[+] "screens": [
[+] {
[+] "name": "List"
[+] }
[+] ],
[+] "shortcuts": [
[+] {
[+] "name": "Restaurants",
[+] "title": "Restaurants",
[+] "description": "A shortcut for List",
[+] "screen": "@.List"
[+] }
[+] ]
[+]
Success
(base) aprilpolubiec@dhcp-892bcdbb april-polubiec.restaurants % shoutem push
(node:88296) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
DEPRECATED:
'shoutem push' is deprecated and will be removed with the next major version of the Shoutem CLI. Shoutem now supports release candidate versioning, which allows developers to 'shoutem publish', for example, 1.0.0-rc.0 versioned extensions which are labeled as "Beta" versions in the Shoutem Builder. App owners who update to RC versions also have the option to revert to the last "stable" (non-rc) version.
Uploading Restaurants:
Checking for required files...[OK]
Checking the extension code for syntax errors...[OK]
Building the server part... [OK]
Building the app part... [OK]
Packing extension... [OK]
Validation error
Use shoutem last-error for more information.
(base) aprilpolubiec@dhcp-892bcdbb april-polubiec.restaurants % shoutem last-error
(node:88352) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
message: null
request:
body:
errors:
-
status: 400
title: validation error
code: validation_default
response:
statusCode: 400
If you think this error is caused by bug in the shoutem command, you can report the issue here: https://github.com/shoutem/cli/issues
and its the same error if I use shoutem publish:
(base) aprilpolubiec@dhcp-892bcdbb april-polubiec.restaurants % shoutem publish
(node:88528) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Uploading Restaurants:
Checking for required files...[OK]
Checking the extension code for syntax errors...[OK]
Building the server part... [OK]
Building the app part... [OK]
Packing extension... [OK]
Validation error
Use shoutem last-error for more information.
(base) aprilpolubiec@dhcp-892bcdbb april-polubiec.restaurants % shoutem last-error
(node:88566) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
message: null
request:
body:
errors:
-
status: 400
title: validation error
code: validation_default
response:
statusCode: 400
If you think this error is caused by bug in the shoutem command, you can report the issue here: https://github.com/shoutem/cli/issues
Metadata
Metadata
Assignees
Labels
No labels