I was able setup hello world on web, tizen and webos. But was getting this issue #653 .
However I found that when build in platforms, files are missing in project folder and not copying to server folder. Because when rnv run -p web shows missing files in web console like favicon, manifest. Please see folder structure.
PS
Yeshans-MacBook-Pro:ITSthe1TV yeshansachithak$ cd renative-tv-app/
Yeshans-MacBook-Pro:renative-tv-app yeshansachithak$ rnv build -p web
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ ██████╗ ███████╗███╗ ██╗ █████╗ ████████╗██╗██╗ ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗ ██║██╔══██╗╚══██╔══╝██║██║ ██║██╔════╝ │
│ ██████╔╝█████╗ ██╔██╗ ██║███████║ ██║ ██║██║ ██║█████╗ │
│ ██╔══██╗██╔══╝ ██║╚██╗██║██╔══██║ ██║ ██║╚██╗ ██╔╝██╔══╝ │
│ ██║ ██║███████╗██║ ╚████║██║ ██║ ██║ ██║ ╚████╔╝ ███████╗ │
│ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ │
│ │
│ Version: 0.31.3 │
│ https://renative.org │
│ 🚀 Firing up!... │
│ $ rnv build -p web │
│ Start Time: 5/17/2021, 2:02:34 PM │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
(node:28936) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:28936) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:28936) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
[ task ] registerEngines[1]
[ task ] configureRuntimeDefaults[1] appId:null
[ task ] checkAndMigrateProject[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] loadPluginTemplates[1]
[ task ] _parsePluginTemplateDependencies[1] scope:root
[ task ] loadEngines[1]
[ task ] _generatePlatformTemplatePaths[1]
[ info ] Current Engine: engine-rn-web
[ task ] initializeTask[1] build
[ task ] => [build]
[ task ] [build] checkIfProjectAndNodeModulesExists[1]
[ hook ] [build] executePipe ('build:before')
[ task ] [build] taskRnvBuild[1] parent:null
[ task ] => [build] => [package]
[ hook ] [package] executePipe ('package:before')
[ task ] [package] taskRnvPackage[1] parent:build
[ task ] => [package] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] _parsePluginTemplateDependencies[2] scope:root
[ task ] [project configure] loadEngines[2]
[ task ] [project configure] _generatePlatformTemplatePaths[2]
[ task ] [project configure] checkAndCreateProjectPackage[1]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:helloworld
[ task ] [project configure] applyTemplate[1] renative-template-hello-world=>undefined
[ task ] [project configure] _applyTemplate[1] current:renative-template-hello-world selected:undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:helloworld
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:123.72 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:123.72 KB
[ task ] [app configure] generateBuildConfig[3] size:123.72 KB
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] _parsePluginTemplateDependencies[3] scope:root
[ task ] [app configure] loadEngines[3]
[ task ] [app configure] generateBuildConfig[4] size:123.72 KB
[ task ] [app configure] _generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:134.19 KB
[ task ] [app configure] generateBuildConfig[6] size:134.19 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:134.19 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:134.19 KB
[ info ] [app configure] Current App Config: helloworld
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:0.31.3,rnvProject:0.31.3[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:helloworld
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] fixRenativeConfigsSync[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] configureEntryPoints[1]
[ warn ] [project configure] Extra platform ios will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform android will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform androidwear will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform androidtv will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform tvos will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform macos will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform windows will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform tizenmobile will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform tizenwatch will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform chromecast will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform firefoxos will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform firefoxtv will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ warn ] [project configure] Extra platform kaios will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] _isSdkInstalled[1]
[ task ] [platform configure] configureRuntimeDefaults[5] appId:helloworld
[ 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] copySharedPlatforms[1]
[ task ] [configure] configureWebProject[1]
[ task ] [configure] copyAssetsFolder[1]
[ task ] [configure] configureCoreWebProject[1]
[ task ] [configure] _generateWebpackConfigs[1]
[ task ] [configure] parsePlugins[2]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/helloworld_web)
[ task ] [configure] parsePlugins[3]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [package] <= configure
[ hook ] [package] executePipe ('package:after')
[ task ] <= [build] <= package
[ task ] [build] buildWeb[1]
✔ Executing: npx cross-env PLATFORM=web NODE_ENV=production node /Users/yeshansachithak/.npm-packages/lib/node_modules/rnv/node_modules/webpack/bin/webpack.js -p --config ./platformBuilds/helloworld_web/webpack.config.prod.js
[ success ] [build] Your Build is located in ./platformBuilds/helloworld_web/project .
[ hook ] [build] executePipe ('build:after')
[ task ] <= build
$ rnv build -p web - Done! 🚀
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 SUMMARY | 5/17/2021, 2:03:43 PM │
│ $ rnv build -p web │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.31.3 │
│ Project Name ($package.name): renative-tv-app │
│ Project Version ($package.version): 0.1.0 │
│ Workspace ($.workspaceID): rnv │
│ Platform (-p): web │
│ Engine ($.platforms.web.engine): engine-rn-web │
│ App Config (-c): helloworld │
│ Build Scheme (-s): debug │
│ Supported Platforms: tizen, web, webos │
│ Env Info: darwin | x64 | node v14.16.1 │
│ Executed Time: 0h:1m:8s:376ms │
│ │
│ [ warn ] [project configure] Extra platform ios will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform android will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform androidwear will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform androidtv will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform tvos will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform macos will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform windows will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform tizenmobile will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform tizenwatch will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform chromecast will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform firefoxos will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform firefoxtv will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ warn ] [project configure] Extra platform kaios will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ [ success ] [build] Your Build is located in ./platformBuilds/helloworld_web/project .
│ │
│ Project location: │
│ ./platformBuilds/helloworld_web/project │
└──────────────────────────────────────────────────────────────────────────────┘
Yeshans-MacBook-Pro:renative-tv-app yeshansachithak$
Hello,
I was able setup hello world on
web, tizen and webos
. But was getting this issue #653 . However I found that when build in platforms, files are missing in project folder and not copying to server folder. Because whenrnv run -p web
shows missing files in web console like favicon, manifest. Please see folder structure.PS
Folder structure:-
Please guide, Thanks