What's I'm doing wrong?
My .flowconfig
[ignore]
.*/node_modules/.*
.*/dist/.*
[include]
[libs]
[lints]
[options]
platform=browser
module.file_ext=.jsx
[strict]
When I try to install type defs..
npx flow-typed install
I receive the error
❯ npx flow-typed install
• Found 66 dependencies in package.json to install libdefs for.
Searching...
UNCAUGHT ERROR: Error: react-navigation_v1.x.x/CONTRIBUTING.md:
Unexpected file name. This directory can only contain test files or a
libdef file named `react-navigation_v1.x.x.js`.
at validationError ( ...
I think there was a change in flow-typed internals which now allows for .md files to be part of the definitions, but this requires you to upgrade to flow-typed v2.4+. Try upgrading your flow-typed version and see if it helps.
Related
I am trying to create a static build of nginx so that I can copy it easily to a different server.
I tried to both install the libgd-dev library using a package manager, and to build it from source in /usr/local but when I add the option `--with-http_image_filter_module I still get an error that it was not found:
checking for GD library ... not found checking for GD library in
/usr/local/ ... not found checking for GD library in /usr/pkg/ ... not
found checking for GD library in /opt/local/ ... not found
./configure: error: the HTTP image filter module requires the GD
library. You can either do not enable the module or install the
libraries.
Can I specify the path of that library somehow? Or put it in another path that will work?
I'm getting the following error message when I run a program that uses Poco::NetSSL:
error while loading shared libraries: libPocoCryptod.so.81: cannot
open shared object file: No such file or directory
Here is my CMakeLists.txt:
cmake_minimum_required(VERSION 3.16)
set(PROJECT_NAME "pocotest")
project(${PROJECT_NAME})
find_package(Poco REQUIRED DataMySQL Net NetSSL)
add_executable(${PROJECT_NAME} src/PocoTest.cpp)
target_link_libraries(${PROJECT_NAME} PUBLIC Poco::Net Poco::NetSSL)
I installed Poco libraries from source, making sure to enable NetSSL. If I ls /usr/local/lib, the file libPocoCrypto.so.81 is there. I don't know what's missing here.
You appear to be linking with the debug version rather than the release version. Your error is for the "d" version of the file, "libPocoCryptod.so.81". But your file is the release version "libPocoCrypto.so.81"
I just needed to run sudo ldconfig on Ubuntu.
I'm working on an existing symfony project and need to use php unit.
When I tried to install it through composer with this command:
composer require --dev phpunit/phpunit ^5
But I got this error:
proc_open (): CreateProcess failed, error code -267
See screenshot here
If you refer to MS's error code reference, you'll see that error code 267 means that the directory name is invalid. So you've probably got an invalid directory reference in your configuration file.
Symfony has its own PHPunit bridge component that adds features on top of the library.
Install it by running this command at the root of your project:
composer require --dev symfony/phpunit-bridge
You should then be able to run your test scripts with:
./vendor/bin/simple-phpunit
I'm getting this error when I try typing $modulus deploy into terminal from my app directory:
Determining Meteor version...
Meteor version: 1.1.0.2
Bundling Meteor App...
undefined
[Error] Error: Command failed: /bin/sh -c cd /Users/xx/Projects/Project1 && meteor bundle --directory /Users/xx/Projects/Project1/.demeteorized
This command has been deprecated in favor of 'meteor build', which allows you
to build for multiple platforms and outputs a directory instead of a single
tarball. See 'meteor help build'for more information.
WARNING: The output directory is under your source tree.
Errors prevented bundling:
While building the application:
client/Project1.js:138:29: Unexpected token =
I get the same result with $demeteorizer. It worked on an old version of the app, then I added some features in new branch, merged, and now I'm getting this error.
Already tried:
sudo npm update -g modulus
Turns out it was an actual error in my code. I had an extra closing curly brace somewhere.
when running php bin/vendors install i get the error:
Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand' not found in C:\Program Files (x86)\Zend\Apache2\htdocs\myproject\vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCommand.php on line 18
And here is my deps file:
http://pastebin.com/FZYRzaFb
Is there a way i can fix this, maybe by setting different versions of bundles in deps files?
Yes, exactly, you must use version=origin/2.0 for the SensioGeneratorBundle
See this thread