renative
renative copied to clipboard
[webOS, tizen, tizenwatch, tizenmobile] build is generated even though there is no webOS or tizen SDK
Describe the bug There is no webOS SDK, but build/export is passed (sanity_1.0.0-1 tag)
To Reproduce Steps to reproduce the behavior:
- go to template-starter package
- do
rnv build
Expected behavior Build is not generated and error appears that there is no webOS SDK
Screenshots or copy&paste
[ success ] [build] Compiled successfully.
[ info ] [build] File sizes after gzip:
129.76 kB build/static/js/main.f86bfac4.js
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.
The platformBuilds/template_webos/build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
Location of your cli /Users/<USER>/Library/webOS_TV_SDK/CLI/bin/ares-package does not exists. check your /Users/reactsealsdev/.rnv/renative.json file if your sdks paths are correct
$ rnv build -p webos - Done! 🚀
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 SUMMARY | 10/12/2023, 10:38:13 AM │
│ $ rnv build -p webos │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 1.0.0-canary.1 │
│ Project Name ($package.name): @rnv/template-starter │
│ Project Version ($package.version): 1.0.0-canary.1 │
│ Workspace ($.workspaceID): rnv │
│ Platform (-p): webos │
│ Engine ($.platforms.webos.engine): engine-rn-web │
│ App Config (-c): template │
│ Build Scheme (-s): debug │
│ Target (-t): emulator │
│ Supported Platforms: webos │
│ Env Info: darwin | x64 | node v18.14.2 │
│ Executed Time: 0h:0m:11s:164ms │
│ │
│ [ warn ] [platform configure] webos requires SDK to be installed. Your SDK path in /Users/reactsealsdev/.rnv/renative.json does not exist: /Users/<USER>/Library/webOS_TV_SDK
│ [ success ] [build] Compiled successfully.
│ │
│ Project location: │
│ ./platformBuilds/template_webos │
└──────────────────────────────────────────────────────────────────────────────┘
reactsealsdev@ReactSealssMini template-starter %
Desktop (please complete the following information):
- OS: macOS Big Sur v11.6
- Node Version v18.14.2
- RNV Version 1.0.0-canary.1
Additional context If you have SDK, but don't want to use it -> rnv also generates build
[ warn ] [platform configure] webos requires SDK to be installed. Your SDK path in /Users/gabriele/.rnv/renative.json does not exist: undefined
[ task ] [platform configure] _attemptAutoFix[1]
[ success ] [platform configure] Found existing webos SDK location at /opt/webOS_TV_SDK
? Do you want to use it? No
[ task ] [platform configure] _attemptAutoFix: no sdks found. searched at: /opt/webOS_TV_SDK, C:\webOS_TV_SDK[1]
[ task ] [platform configure] generateBuildConfig[9] size:208.88 KB
[ task ] [platform configure] configureRuntimeDefaults[5] appId:template
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] copySharedPlatforms[1]
[ task ] [configure] configureWebOSProject[1]
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/gabriele/Desktop/renative/node_modules/@flexn/assets-renative-outline/assets/webos. Will be used to generate assets.
[ task ] [configure] configureCoreWebProject[1]
[ task ] [configure] _configureProject[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_webos)
[ task ] [configure] parsePlugins[3]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [package] <= configure
[ hook ] [package] executePipe ('package:after')
[ task ] <= [build] <= package
[ task ] [build] buildWebOSProject[1]
[ task ] [build] buildCoreWebpackProject[1]
[ task ] [build] parsePlugins[4]
[ info ] [build] File sizes after gzip:
143.57 kB build/static/js/main.789dc343.js
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.
The platformBuilds/template_webos/build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
Location of your cli undefined does not exists. check your /Users/gabriele/.rnv/renative.json file if your sdks paths are correct
$ rnv build -p webos - Done! 🚀
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 SUMMARY | 11/23/2023, 4:46:17 PM │
│ $ rnv build -p webos │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 1.0.0-canary.8 │
│ Project Name ($package.name): @rnv/template-starter │
│ Project Version ($package.version): 1.0.0-canary.8 │
│ Workspace ($.workspaceID): rnv │
│ Platform (-p): webos │
│ Engine ($.platforms.webos.engine): engine-rn-web │
│ App Config (-c): template │
│ Build Scheme (-s): debug │
│ Target (-t): emulator │
│ Supported Platforms: webos │
│ Master Template: @rnv/template-starter │
│ Env Info: darwin | x64 | node v18.14.2 │
│ Executed Time: 0h:0m:10s:121ms │
│ │
│ [ warn ] [platform configure] Your /Users/gabriele/.rnv/renative.json is missing SDK configuration object
│ [ warn ] [platform configure] webos requires SDK to be installed. Your SDK path in /Users/gabriele/.rnv/renative.json does not exist: undefined
│ [ success ] [platform configure] Found existing webos SDK location at /opt/webOS_TV_SDK
│ You are trying to run global rnv command in your current project.
│ This might lead to unexpected behaviour.
│ Run your rnv command with npx prefix:
│ npx rnv build -p webos
│ │
│ Project location: │
│ ./platformBuilds/template_webos │
└──────────────────────────────────────────────────────────────────────────────┘
➜ ~/Desktop/renative/packages/template-starter git:(0ecd349c3)