Update:
I was using SBT 0.11 while "sbt 0.12" is required. a update of SBT does the job!
I followed the steps to install Dispatch with sbt.
$ echo 'libraryDependencies += "net.databinder.dispatch" %% "dispatch-core" % "0.11.0"' > build.sbt
When I ran:
$ sbt console
I got the following error message:
sbt.ResolveException: unresolved dependency: net.databinder.dispatch#dispatch-core_2.10.0;0.11.0: not found
What's wrong?
Related
When I launch SBT 1.5 using the command which in turn launches version 0.13 for the project
❯ sbt -v
[sbt_options] declare -a sbt_options='()'
[process_args] java_version = '8'
# Executing command line:
java
-Dfile.encoding=UTF-8
-Xms1024m
-Xmx1024m
-Xss4M
-XX:ReservedCodeCacheSize=128m
-jar
/opt/homebrew/Cellar/sbt/1.5.0/libexec/bin/sbt-launch.jar
[info] Loading global plugins from /Users/viswanath/.sbt/0.13/plugins
[info] Updating {file:/Users/viswanath/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
I get the following error
[error] (compile:compileIncremental) sbt.InvalidComponent: Could not find required component 'xsbti'
on my MacBookPro with M1 processor (a.k.a Apple silicon) on ARM64 architecture. Any clue on how to fix this problem?
Note: Bundled SBT runs fine on IntelliJ
Try installing with SDKMAN
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java
sdk install sbt
sbt compile
Bumped up the project's SBT version to 1.5.0 and the problem disappeared. See this githib issue for more information.
Alternatively, check this workaround on SBT 1.5.0 for launching SBT in interactive mode.
sbt -Dsbt.boot.directory=/tmp/boot1 -Dsbt.launcher.coursier=false
"C:\Program Files (x86)\Yarn\bin\yarn.cmd" add sass-loader node-sass --dev
yarn add v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
error fsevents#1.1.3: The platform "win32" is incompatible with this module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
error Found incompatible module
Process finished with exit code 1 at 15:24:10.
Execution time: 22 799 ms.
.....
What a cause of this error?
the problem is in node_modules directory and this is the solution : https://github.com/yarnpkg/yarn/issues/626
Thanks for helps!
This problem solved, I install 'webpack' first in my project.
https://github.com/mattn/go-sqlite3/
Can't find the correct go build compiler arguments for OSX to linux using the clang compiler, help greatly appreciated thx
% env GOOS=linux CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static"
# runtime/cgo
ld: unknown option: --build-id=none
clang: error: linker command failed with exit code 1 (use -v to see invocation)
% env GOOS=linux CGO_ENABLED=1 go build
# runtime/cgo
ld: unknown option: --build-id=none
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note that a plain go build without cross compiling works
I try to use carthage update on xcode 8.3.1 to add the octokit, but when I excute the command carthage update, the terminal shows this error:
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/xuliner/Downloads/octokit.objc-54474a6947342ddedb4f3dc37ca6e54c050d92bf/Carthage/Checkouts/Nimble/Nimble.xcodeproj -scheme Nimble-iOS -configuration Release -derivedDataPath /Users/xuliner/Library/Caches/org.carthage.CarthageKit/DerivedData/Nimble/v3.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/vn/c9ppdjg12rn8pj5r093g8_tr0000gn/T/carthage-xcodebuild.qEGXw6.log
I open the build log and it shows:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
How can I fix that?
While building a project in QT 2.4.1
This error message shows:
error: cannot find -lX11
error: collect2: ld returned 1 exit status
Can any one please help?
-lX11 is a compile/link flag related to the client libraries for xorg; at least install libx11-dev with apt-get install libx11-dev (you can have more dependencies to satisfy)