Module Warning (from ./node_modules/eslint-loader/index.js): warning: Parsing error: Unexpected character "EOF" (prettier/prettier) at - vue.js

I have a problem with compiling a vue module in Visual Studio code. During compilation It has always returned the same warning, although I'm using autoformat. I have already changed CRLF to LF, however it didn't help. Can somebody help me, please?
Module Warning (from ./node_modules/eslint-loader/index.js):
warning: Parsing error: Unexpected character "EOF" (prettier/prettier) at src\components\ViewEmployees.vue:34:2:
32 | }
33 | };
> 34 |
| ^
1 warning found.

Related

Parser Error of import Openzeppelin while compiling solidity code

Retrieving compiler information:
Compiler using remote version: 'latest', solidity version: 0.8.17+commit.8df45f5f.Emscripten.clang
ParserError: Expected string literal (path), "*" or alias list.
--> c:/Users/manis/Desktop/React_Native/contracts/NFTMarketplace.sol:6:8:
|
6 | import “#openzeppelin/contracts/utils/Counters.sol”;
| ^
Compilation failed with 1 errors
Please Tell me something about this error.
try in your console, in the main project folder:
yarn add #openzeppelin/contracts
also, check your node_modules folder.

Adding 3rd part library (taco) by FetchContent_Declare causes issues

I would like to add a 3rd party lib (called taco) to my project. In the CMakeLists.txt of my project I did the following:
FetchContent_Declare(
taco
GIT_REPOSITORY https://github.com/tensor-compiler/taco.git
GIT_TAG master
)
FetchContent_MakeAvailable(taco)
When compiling, the compiler complains
[ 48%] Building CXX object _deps/taco-build/src/CMakeFiles/taco.dir/lower/tensor_path.cpp.o
/home/miaodi/repo/mfemMechanics/release/_deps/taco-src/src/lower/lowerer_impl_imperative.cpp: In member function ‘std::vector<taco::ir::Stmt> taco::LowererImplImperative::constructInnerLoopCasePreamble(taco::ir::Expr, taco::IndexVar, taco::MergeLattice, std::map<taco::Iterator, taco::ir::Expr>&)’:
/home/miaodi/repo/mfemMechanics/release/_deps/taco-src/src/lower/lowerer_impl_imperative.cpp:1935:21: error: reference to ‘conjunction’ is ambiguous
1935 | nonZeroCase = conjunction({coordComparisons[i], valueComparisons[i]});
| ^~~~~~~~~~~
In file included from /home/miaodi/repo/mfemMechanics/release/_deps/taco-src/src/lower/lowerer_impl_imperative.cpp:12:
/home/miaodi/repo/mfemMechanics/release/_deps/taco-src/include/taco/ir/ir_generators.h:20:6: note: candidates are: ‘taco::ir::Expr taco::ir::conjunction(std::vector<taco::ir::Expr>)’
20 | Expr conjunction(std::vector<Expr> exprs);
| ^~~~~~~~~~~
In file included from /usr/include/c++/9/bits/move.h:55,
from /usr/include/c++/9/bits/stl_pair.h:59,
from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/vector:60,
from /home/miaodi/repo/mfemMechanics/release/_deps/taco-src/include/taco/lower/mode_format_impl.h:4,
from /home/miaodi/repo/mfemMechanics/release/_deps/taco-src/include/taco/lower/mode_format_compressed.h:4,
from /home/miaodi/repo/mfemMechanics/release/_deps/taco-src/src/lower/lowerer_impl_imperative.cpp:1:
/usr/include/c++/9/type_traits:155:12: note: ‘template<class ... _Bn> struct std::conjunction’
155 | struct conjunction
| ^~~~~~~~~~~
If I build this library (taco) without using FetchContent_Declare (mkdir build && cd build && cmake ..), this issue won't show up.
After I fixed this by adding the scope 'taco::ir::' to conjunction, I got the second issue:
/home/miaodi/repo/mfemMechanics/release/_deps/taco-src/tools/taco.cpp:35:10: fatal error: taco/version.h: No such file or directory
35 | #include "taco/version.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [_deps/taco-build/tools/CMakeFiles/taco-tool.dir/build.make:76: _deps/taco-build/tools/CMakeFiles/taco-tool.dir/taco.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:889: _deps/taco-build/tools/CMakeFiles/taco-tool.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
which also does not happen when I compile it without using FetchContent_Declare.
My question is: how can I fix these issues without touching the source code?

"Tried to resolve a name to a reference that was unknown to the frame" error when running dbt seed

dbt version: 0.20.1
database: postgresql
code: https://github.com/josephmachado/simple_dbt_project
when running the command "dbt seed", it raises error:
Unhandled error while executing seed.tutorial.customer
Tried to resolve a name to a reference that was unknown to the frame ('column')
19:17:41 | 1 of 3 ERROR loading seed file tutorial.customer..................... [ERROR in 3.61s]
19:17:41 | 3 of 3 START seed file tutorial.state................................ [RUN]
Unhandled error while executing seed.tutorial.state
Tried to resolve a name to a reference that was unknown to the frame ('column')
19:17:41 | 3 of 3 ERROR loading seed file tutorial.state........................ [ERROR in 0.23s]
Unhandled error while executing seed.tutorial.orders
Tried to resolve a name to a reference that was unknown to the frame ('column')
19:17:51 | 2 of 3 ERROR loading seed file tutorial.orders....................... [ERROR in 14.37s]
19:17:51 |
19:17:51 | Finished running 3 seeds in 14.96s.
Completed with 3 errors and 0 warnings:
Tried to resolve a name to a reference that was unknown to the frame ('column')
Tried to resolve a name to a reference that was unknown to the frame ('column')
Tried to resolve a name to a reference that was unknown to
the frame ('column')
Any setting i am missing?
how did you install Jinja2? It should be the older version 2.x Normally as you install dbt package, jinja comes with the right(older) version as dependency.
Check your jinja version per command:
pip freeze > temp.txt
if it is not 2.x, You gotta take care of that.
Jinja2==3.0.1 caused this issue. It is fixed after installing Jinja2==2.11.3

Error: Syntax error at 'Boolean'; expected ')' in Artifactory OSS Puppet Module

Trying to use this puppet module, it breaks with syntax error:
Error: Syntax error at 'Boolean'; expected ')' at /etc/puppet/modules/artifactory/manifests/init.pp:6 on node artifactoryserver.openstacklocal
This is how I'm including it in the pp file:
node default { include '::artifactory' }
The line it refers is this one. Any idea of what I'm doing wrong?

CMake build failed with error 'SecTrustEvaluateAsync' undeclared when using gcc 5.3 on OS X

I am trying to build CMake 3.5.2 from source on Mac El Captain using GNU GCC 5.3 from HPC.
The ./bootstrap process is completed successfully but when i am using make is failing with the following error.
/Users/dev/Downloads/CMake-master/Utilities/cmcurl/lib/vtls/darwinssl.c: In function ‘darwinssl_connect_step3’:
/Users/dev/Downloads/CMake-master/Utilities/cmcurl/lib/vtls/darwinssl.c:1999:6: error: ‘SecTrustEvaluateAsync’ undeclared (first use in this function)
if(SecTrustEvaluateAsync != NULL) {
^
/Users/dev/Downloads/CMake-master/Utilities/cmcurl/lib/vtls/darwinssl.c:1999:6: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/darwinssl.c.o] Error 1
make[1]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/all] Error 2
make: *** [all] Error 2
The same process worked fine when I was using the default clang compiler provided with Mac OS.
When I tried finding about SecTrustEvaluateAsync I found the following information in the apple site.
Any help on this is highly appreciated.
You might try the latest CMake 3.6-rc1. If the problem persists, file a bug to notice the CMake developers. We probably won't fix CMake's code.