Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Error in eval(parse(text = text, keep.source = FALSE), envir) #428

@yyangdii

Description

@yyangdii

I'm a newbie trying to build a Shiny app using electricShine on Win10. The app is already structured as a golem package. While running the following electrify code:

`buildPath <- tempdir()

my_package <- "~/mygolem/"

electricShine::electrify(app_name = "my_app",
semantic_version = "1.0.1",
build_path = buildPath,
mran_date = NULL,
cran_like_url = "https://cran.r-project.org",
function_name = "run_app",
local_package_path = my_package,
package_install_opts = list(type = "binary"),
nodejs_path = file.path("C:/User/Documents/R/win-library/4.0/electricShine/nodejs/node-v12.16.2-win-x64"),
run_build = TRUE)`

This error message occurs:

Finshed: Installing your Shiny package into electricShine framework Successfully created C:/User/AppData/Local/Temp/Rtmp4wy0fK/my_app/package.json Fehler in eval(parse(text = text, keep.source = FALSE), envir) : Objekt 'platform' nicht gefunden

The last line means "object 'platform' not fund".

Since I don't have any object named platform in my app code, I'm totally lost. Could you please help? Thanks a lot!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions