-
-
Notifications
You must be signed in to change notification settings - Fork 37
Error in eval(parse(text = text, keep.source = FALSE), envir) #428
Comments
It's a bug that needs to be fixed. Should work if you don't specify For me: electricShine/R/install_nodejs.R Line 24 in 7a2a2fc
|
I get the same error on Windows 10 R 4.0.3 and I haven't specified the nodejs_path. `buildPath <- tempdir() electricShine::electrify(app_name = "My_App", |
Hi. I got the same error. Windows 10 R 4.0.4 |
Confirmed, will work on fix |
Hello @chasemc - @hotakamaeda has a solution for this. If you manually set |
Thanks for this. After manually installing webpackmerge-fix the demo app at "chasemc/demoApp@8426481" installs and runs fine. However, downloading the exact same repo and trying to install locally results in an app that loads infinitely with the error message Any known fix for the issue? Is this a known issue with the local installer and not the Github installer? |
@mcmcapewell not sure about the error message sorry, looks like something to do with nodejs but I know next to nothing about that. Edit - I've never had an issue with installing locally FWIW. If you explain exactly what you've tried I can copy it my end if I get the time. If I remember right, golem apps won't work out of the box any more. Long story short, I think the problem is that golem have changed how they initiate their apps since the eS package was written. I don't fully understand what but when I was starting out with eS I whittled down the potential causes to changes in what the |
@py9mrg Thanks for your info - didn't realise that about golem. The ECONNRESET issue with hanging loading screen was because I was using an old version of I've basically been replicating what you've done in #317 to start with the working demoApp and build up from there. I realise you've some valuable advice about Depends/Imports and the NAMESPACE so I'll dilligently follow that in your post. Cheers. |
I am also getting this error when trying to create the demo app on windows10 electricShine::electrify(app_name = "My_App", |
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!
The text was updated successfully, but these errors were encountered: