Comments (2)
@cabarique Thanks for the report!
Do you have any special setup?
Is the project where this error occurred open source, so I can reproduce the issue under the same circumstances?
Can you provide the path (or the length of it) to your repo?
Do you have any extension specific config? What does your swiftlint config look like?
Does it only happen in specific files? If yes: which one?
If you wonder regarding the weird questions: This might be related to long file paths and large projects.
from vscode-swiftlint.
Closed in favor of #22. Hoping there will be more information
from vscode-swiftlint.
Related Issues (20)
- Report Illegal argument: line must be non-negative HOT 2
- Report Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonSourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading libsourcekitdInProc.so failed HOT 1
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: '' HOT 1
- レポートコマンドに失敗しました: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonSourceKittenFramework/File.swift:20: 致命的なエラー: 'try!'式は予期せずエラーを発生させた: Error Domain=NSCocoaErrorDomain Code=260 「そのようなファイルがないため、ファイル「DKAssetGroupDetailImageCell.swift」を開けませんでした。」UserInfo={NSFilePath=/Users/ir/Desktop/Sense0.0/sense_0/ios/Pods/DKImagePickerController/Sources/DKImagePickerController/View/Cell/DKAssetGroupDetailImageCell.swift, NSUnderlyingError=0x133f616b0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}https://github.com/llvm/llvm-project/issues/にバグレポートを提出し、クラッシュバックトレースを含めてください。 HOT 1
- The default swiftlint.path value is invalid on Windows HOT 14
- Report 1 Command failed: swiftlint lint --quiet --reporter jsonError: No lintable files found at paths: '' HOT 1
- Report Command failed: /opt/homebrew/bin/swiftlint /usr/bin/env swiftlint lint --quiet --reporter jsonwarning: Configuration contains invalid keys identation.SourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=261 "The file “env” couldn’t be opened using text encoding Unicode (UTF-8)." UserInfo={NSFilePath=/usr/bin/env, NSStringEncoding=4}PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. HOT 1
- Report Command failed: /usr/bin/env swiftlint lint --quiet --reporter jsonSourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “SerialExecutorTests.swift” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/MyUser/Development/Vapor/MyProject/.build/checkouts/swift-nio/Tests/NIOPosixTests/SerialExecutorTests.swift, NSUnderlyingError=0x13898b600 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} HOT 1
- Report Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonwarning: Found a configuration for 'type_body_length' rule, but it is disabled on 'disabled_rules'.SourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Color Extension.swift” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/user/Development/Git/app/Color Extension.swift, NSUnderlyingError=0x7ff5c571c650 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} HOT 1
- Report Command failed: /opt/homebrew/bin/swiftlint /usr/bin/env swiftlint lint --quiet --reporter jsonwarning: Invalid configuration for 'trailing_whitespace'. Falling back to default.warning: Invalid configuration for 'indentation'. Falling back to default.SourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=261 "The file “env” couldn’t be opened using text encoding Unicode (UTF-8)." UserInfo={NSFilePath=/usr/bin/env, NSStringEncoding=4}PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. HOT 1
- Report 1 Command failed: swiftlint lint --quiet --reporter jsonError: No lintable files found at paths: ''
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: '' HOT 2
- add Windows support HOT 1
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: '' HOT 1
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
- Support `source.fixAll.swiftlint`
- onlyEnableWithConfig confusion
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
- Report Command failed: /home//SDKs/Swift/swift-tools/SwiftLint/.build/release/swiftlint lint --quiet --reporter jsonSourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading libsourcekitdInProc.so failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-swiftlint.