I'm trying to use the meta:susy package on my meteor installation. On my iMac there are no problems, but on windows 10 it say:
throw Error("surprising path" + p);
Error: surprising path: /{meta:susy}/susy
I removed the fourseven:scss package, then I added it and the susy:meta package again, but the problem persists.
How can I solve it? I need to use it in my laptop too..
Thank you all!
That's a known issue in 1.3, so use 1.3.1:
meteor update --release=1.3.1
Related
Not sure if any one of you have ever faced this issue. I have tried checking various sources online but nothing solved my issue.
I am following a tutorial on how to create a Meteor+ionic+react application from this link
https://medium.com/#SamCorcos/meteor-react-ionic-mobile-app-part-1-the-basic-template-9355ebf3397f#.qtl4fl5st
when i add the line
ReactRouter=require("react-router");
inside app.browserify.js and run the application, i get the following error.
Error: Cannot find module 'react/lib/invariant'
I am using following versions
react 0.14.3
cosmos:browserify 0.9.3
meteorhacks:npm 1.5.0
npm-container 1.2.0+
I am surely missing something thing here. Can anyone help.
Thanks,
Sri TejN
I found the solution myself. Just install the ReactRouter that is present in the meteor packages and do not include the line “ReactRouter = require(“react-router”);” in the file “ app.browserify.js”. But you can use the variable ReactRouter anywhere else in the code.
Just to confirm, in my case the solution also worked and added ReactRouter package:
meteor add reactrouter:react-router
Then commenting out line:
//ReactRouter = require("react-router");
In file lib/app.browserify.js and running Meteor again fixed the problem.
Thanks Sri Tej Narala.
i keep hitting this error today and I already download the plyr from github but it still doesn't work. I restarted R-studio even my PC after installing plyr..
It appears the problem may be due to a change made to the way R resolves references to external DLLs, as mentioned halfway through the thread here.
Adding the parameter PACKAGE="plyr" to the .Call function call on line 12 of R/loop_apply.R in the source (clone from github), and then installing the package from that source (install.packages("<path to plyr source>", type="source", repos=NULL)) seems to fix it.
I don't know what is going on, everything was working great but suddenly I started to have this error message on the documentation:
Error in fetch(key) : lazy-load database '......descopl.rdb' is
corrupt
I removed almost all my code and build again then publish to Github, but when I use the other laptop to download the package, the package is being downloaded and loaded but I can't call any of the functions, and the documentation states that error.
I don't know what caused the problem, I am using roxygen to generate the documentation.
https://github.com/WilliamKinaan/descopl
It seems that the error arises when the package cannot be decompressed by R (as #rawr established, it is corrupt). This solutions have worked for me:
1) Check for possible errors in the creation of the .Rdb files
2) Try restarting your R session (e.g. .rs.restartR() if in RStudio)
3) The package might have been installed in your computer (even though it does not work). Remove it using ?remove.packages()
I have had this problem with roxygen2 as well. Couldn't see any problem with any of my functions. In the end deleting the .rdb file and then getting roxygen2 to rebuild it seemed to solve the problem.
I think the explanation for what is causing this is here.
It's related to devtools.
Per #Zfunk
cd ~/Rlibs/descopl/help
rm *.rdb
Restart R. Look at the help for the package again. Fixed!
I received this error after re-installing a library whilst another R session was running.
Simply restarting the existing R session(s) solved for me (i.e. running .rs.restartR() to restart the sessions)
If you are using R-studio:
1) ctrl+shift+f10 to restart r session
2) tools -> Check for package updates -> update all packages
3) library(ggmap)
Problem is solved.
Basically all answers require restarting R to resolve the issue, but I found myself in an environment where I really didn't want to restart R.
I am posting here a somewhat hack-ish solution suggested by Jim Hester in a bug report about the lazy-load corruption issue.
The gist of it is that the package may have some vestigial S3 methods listed in session's .__S3MethodsTable__. environment. I don't have a very systematic way of identifying which S3 methods in that environment come from where, but I think a good place to start is the print methods, and looking for S3method registrations in the package's NAMESPACE.
You can then remove those S3 methods from the .__S3MethodsTable__. environment and try again, e.g.
rm(list="print.object", envir = get(".__S3MethodsTable__.", envir = baseenv()))
You may also need to unload some DLLs if some new messages come up like
no such symbol glue_ in package /usr/local/lib/R/site-library/glue/libs/glue.so
You can check getLoadedDLLs() to see which such files are loaded in your session. In the case of glue here, the following resolved the issue:
library.dynam.unload('glue', '/usr/local/lib/R/site-library/glue')
I got this error on RStudio on mac OS - updating all the packages and restarting r session did the trick.
I'm surprised that I can not find anything regarding the error I am seeing... basically, when I do mrt add jade (https://github.com/mquandalle/meteor-jade/), I get the following:
=> Errors while scanning packages:
While building package `jade`:
packages/compileJade/plugin/compiler.js:126: HTML is not defined (compiling tests/tests.jade)
at _.extend.visitTag (packages/compileJade/plugin/compiler.js:126)
at _.extend.visitNode (packages/compileJade/plugin/compiler.js:90)
at _.extend.visitBlock (packages/compileJade/plugin/compiler.js:74)
at _.extend.visitNode (packages/compileJade/plugin/compiler.js:84)
at _.extend.visitBlock (packages/compileJade/plugin/compiler.js:74)
at _.extend.compile (packages/compileJade/plugin/compiler.js:21)
at sourceHandler (packages/compileJade/plugin/handler.js:11)
While building plugin `compileJade` in package `jade`:
error: no such package: 'html-tools'
error: no such package: 'spacebars-compiler'
I did mrt update but still the same thing, any clue what is going on?
Try doing:
meteor update --release blaze-rc0
As explained on the meteor-jade github page:
Warning: This package is made for the new Meteor UI system, which is not released as a stable version yet. You'll need to run the blaze-rc0 release.
I believe the next major release of Meteor (0.8 or 1.0) is supposed to include the stable release of Blaze UI. At that point, you should be able to just do:
meteor update
I am new to Julia's package manager, and I am having trouble installing GLPK and LinProgGLPK.
I have already run Pkg.Init() and have successfully installed Curl using Pkg.add("Curl"). However, when I try to install GLPK or LinProgGLPK (using Pkg.add("GLPK") and Pkg.add("LinProgGLPK")), I get the following message:
MESSAGE: Installing BinDeps v0.0.0
ERROR: Path BinDeps already exists! Please remove to allow installation.
in _resolve at pkg.jl:345
in anonymous at no file:163
in cd at file.jl:26
in cd_pkgdir at pkg.jl:42
in add at pkg.jl:143
in add at pkg.jl:175
I seem to get the same message for other packages that are dependent on BinDeps (including Winston).
I have tried calling Pkg.rm("BinDeps"), Pkg.add("BinDeps"), Pkg.update(), and Pkg.resolve(), and then returned to trying to add GLPK, but the same message persists. I have also entered ~/.julia to remove the BinDeps folder, but that did not work either. What am I missing?
P.S. I am running julia in Linux Ubuntu.
Honestly, when something gets screwed up, it's best just to wipe ~/.julia and re-add the packages.
Just make sure you back up your local changes!