Error when trying to add meteor-jade - meteor

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

Related

Bit.dev error creating a component dur to package mismatch

I have an issue and it wont let me create a component because of mismatch versions, I tried deleting vue-loader, vue-template-compiler node modules. Deleting #vue/compiler-sf an reinstalling etc and i always get the same message.
new components
(use "bit tag --all [version]" to lock a version with all your changes)
> test-test ... issues found
error found while parsing the file (edit the file and fix the parsing error):
src/components/testTest.vue ->
Vue packages version mismatch:
vue#3.2.31 (C:\Users\Alex 2019\AppData\Roaming\npm\node_modules\vue\index.js)
vue-template-compiler#2.7.13 (C:\Users\Alex 2019\AppData\Roaming\npm\node_modules\bit-bin\node_modules\vue-template-compiler\package.json)
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader#>=10.0, simply update vue-template-compiler.
If you are using vue-loader#<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

Failed to install 'unknown package' from GitHub

I am trying to install the ggpattern package from GitHub (https://www.rdocumentation.org/packages/ggpattern/versions/0.2.0)
I've reinstalled R, followed the all steps according to the site, also tried
remotes::install_github("coolbutuseless/ggpattern", force = TRUE)
But I still get:
Error: Failed to install 'unknown package' from GitHub:
HTTP error 401.
Bad credentials
Rate limit remaining: 19/60
Rate limit reset at: 2022-01-29 18:28:15 UTC
I'm working on R version 4.1.2 (newest according to me) on Windows.
Do you have any idea what is the issue here?
You need to check if you have a personal access token set in your environment. For example, when I have a Git project, I set a personal access token. However, I set this in the project environment, so that it isn't any issues outside of that environment.
To see if there is one assigned:
Sys.getenv("GITHUB_PAT")
If there is one set, write it down (you may need that in the future).
To remove it, so you can install the GitHub package:
Sys.unsetenv("GITHUB_PAT")

Issue installing apache-airflow-backport-providers-google module on airflow instance of Google Composer

I need execute Data Fusion pipelines from Composer, using de operatos for this:
from airflow.providers.google.cloud.operators.datafusion import (
CloudDataFusionCreateInstanceOperator,
CloudDataFusionCreatePipelineOperator,
CloudDataFusionDeleteInstanceOperator,
CloudDataFusionDeletePipelineOperator,
CloudDataFusionGetInstanceOperator,
CloudDataFusionListPipelinesOperator,
CloudDataFusionRestartInstanceOperator,
CloudDataFusionStartPipelineOperator,
CloudDataFusionStopPipelineOperator,
CloudDataFusionUpdateInstanceOperator,
)
The issue I have is about modulo "apache-airflow-backport-providers-google", with the support of this links i knew what I need to use this modulo:
reference to install the modulo in airflow instance (answered by #Gonzalo Pérez Fernández): https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/datafusion.html
when i tried to install python dependency on Composer like PyPi Package i get this error:
UPDATE operation on this environment failed 7 minutes ago with the following error message:
Failed to install PyPI packages.
apache-airflow-providers-google 5.0.0 has requirement google-ads>=12.0.0, but you have google-ads 7.0.0. Check the Cloud Build log at https://console.cloud.google.com/cloud-build/builds/a2ecf37a-4c47-4770-9489-6fb65e87d82f?project=341768372632 for details. For detailed instructions see https://cloud.google.com/composer/docs/troubleshooting-package-installation
the log deail is:
apache-airflow-providers-google 5.0.0 has requirement google-ads>=12.0.0, but you have google-ads 7.0.0.
apache-airflow-backport-providers-google 2021.3.3 has requirement apache-airflow~=1.10, but you have apache-airflow 2.1.2+composer.
The command '/bin/sh -c bash installer.sh $COMPOSER_PYTHON_VERSION fail' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
is there any way to use de module "apache-airflow-backport-providers-google" without depedency issues on composer instance?, or What would be the best way to use data fusion operators no need to change or parse package versions in python?.
Composer Image version used:
composer-1.17.0-airflow-2.1.2
Thanks.
There is no need to install apache-airflow-backport-providers-google in Airflow 2.0+. This package actually backports Airflow 2 operators into Airflow 1.10.*. In addition, in Composer version composer-1.17.0-airflow-2.1.2 the apache-airflow-providers-google==5.0.0 package is already installed according to the documentation. You should be able to import the Data Fusion operators with the code snippet you posted as is.
However, if this is not the case, you should probably handle the conflict shown in the logs when trying to reinstall apache-airflow-providers-google==5.0.0:
apache-airflow-providers-google 5.0.0 has requirement google-ads>=12.0.0, but you have google-ads 7.0.0.
You can add the requirement for google-ads=12.0.0 in your PyPi dependencies and see if it works.

Meteor meta:susy package surprising path

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

Error: Cannot find module 'react/lib/invariant'

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.

Resources