Cannot Install npm on Mac 10.6.4 Strange Errors - installation

MacPro:macpro fred$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3927 100 3927 0 0 958 0 0:00:04 0:00:04 --:--:-- 1038
fetching: http://registry.npmjs.org/npm/-/npm-1.0.22.tgz
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/read-json.js:7:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
0.2.5
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/read-json.js:7:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/read-json.js:7:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
! [ -d .git ] || git submodule update --init --recursive
node cli.js cache clean
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/ini.js:31:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/config.js:10:11)
at Module._compile (node.js:462:23)
make: *** [uninstall] Error 1
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/ini.js:31:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/config.js:10:11)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/ini.js:31:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/config.js:10:11)
at Module._compile (node.js:462:23)
It failed
MacPro:macpro fred$
Any suggestions?

You shouldn't install npm directly.
npm has been bundled with node since 0.6.3.
If you install the latest node.js from http://nodejs.org/ you'll get npm aswell.

Related

NPM install aborts - Zone Allocation failed - process out of memory

I hope everyone's ok so far. I have a HUGE problem with my production server. I am updating my laravel project on my shared server, which uses CPanel to administrate it. I tried to run several commands such as
npm install
npm update
npm run dev (for mix)
npm run prod
an none of them have worked so far. All point out to the same issue.
glob error [Error: ENOMEM: not enough memory, scandir '/home3/regioye5/.npm/_logs'] {
errno: -12,
code: 'ENOMEM',
syscall: 'scandir',
path: '/home3/regioye5/.npm/_logs'
}
[..................] / idealTree:sweetalert2: sill fetch manifest resolve#^1.1.7
<--- Last few GCs --->
[322:0x47cdc20] 2130 ms: Scavenge 43.6 (61.8) -> 39.0 (64.3) MB, 11.2 / 0.1 ms (average mu = 1.000, current mu = 1.000) task
[322:0x47cdc20] 2146 ms: Mark-sweep 39.5 (64.3) -> 13.4 (64.3) MB, 3.3 / 0.0 ms (+ 1.3 ms in 8 steps since start of marking, biggest step 0.3 ms, walltime since start of marking 16 ms) (average mu = 0.997, current mu = 0.997) finalize incremental mar
<--- JS stacktrace --->
FATAL ERROR: Zone Allocation failed - process out of memory
1: 0xa04200 node::Abort() [npm install]
2: 0x94e4e9 node::FatalError(char const*, char const*) [npm install]
3: 0xb7978e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [npm install]
4: 0xb79b07 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [npm install]
5: 0x121bcee v8::internal::Zone::NewExpand(unsigned long) [npm install]
6: 0x1a7256f v8::internal::compiler::Node::New(v8::internal::Zone*, unsigned int, v8::internal::compiler::Operator const*, int, v8::internal::compiler::Node* const*, bool) [npm install]
7: 0x1a1ba83 v8::internal::compiler::Graph::NewNode(v8::internal::compiler::Operator const*, int, v8::internal::compiler::Node* const*, bool) [npm install]
8: 0x1b6b03a [npm install]
9: 0x1b6f990 v8::internal::compiler::BytecodeGraphBuilder::VisitJumpLoop() [npm install]
10: 0x1b76331 v8::internal::compiler::BytecodeGraphBuilder::VisitBytecodes() [npm install]
11: 0x1b765c3 v8::internal::compiler::BytecodeGraphBuilder::CreateGraph() [npm install]
12: 0x1b7669e v8::internal::compiler::BuildGraphFromBytecode(v8::internal::compiler::JSHeapBroker*, v8::internal::Zone*, v8::internal::compiler::SharedFunctionInfoRef const&, v8::internal::compiler::FeedbackVectorRef const&, v8::internal::BailoutId, v8::internal::compiler::JSGraph*, v8::internal::compiler::CallFrequency const&, v8::internal::compiler::SourcePositionTable*, int, v8::base::Flags<v8::internal::compiler::BytecodeGraphBuilderFlag, int>, v8::internal::TickCounter*) [npm install]
13: 0x1c0b2e5 v8::internal::compiler::JSInliner::ReduceJSCall(v8::internal::compiler::Node*) [npm install]
14: 0x1c07944 v8::internal::compiler::JSInliningHeuristic::InlineCandidate(v8::internal::compiler::JSInliningHeuristic::Candidate const&, bool) [npm install]
15: 0x1c08094 v8::internal::compiler::JSInliningHeuristic::Finalize() [npm install]
16: 0x1bb5f3e v8::internal::compiler::GraphReducer::ReduceNode(v8::internal::compiler::Node*) [npm install]
17: 0x1a80905 v8::internal::compiler::InliningPhase::Run(v8::internal::compiler::PipelineData*, v8::internal::Zone*) [npm install]
18: 0x1a80e88 v8::internal::compiler::PipelineImpl::CreateGraph() [npm install]
19: 0x1a812a8 v8::internal::compiler::PipelineCompilationJob::PrepareJobImpl(v8::internal::Isolate*) [npm install]
20: 0xc4291e v8::internal::OptimizedCompilationJob::PrepareJob(v8::internal::Isolate*) [npm install]
21: 0xc4402b [npm install]
22: 0xc451bd v8::internal::Compiler::CompileOptimized(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::ConcurrencyMode) [npm install]
23: 0x1041ce1 v8::internal::Runtime_CompileOptimized_Concurrent(int, unsigned long*, v8::internal::Isolate*) [npm install]
24: 0x1401219 [npm install]
Aborted
Now I can't update anything related to npm (including laravel mix) because of this. Is there a way to give extra memory or to fix this issue with the memory just to run those commands.
this is what I get when I run ulimit -a:
core file size (blocks, -c) 0
data seg size (kbytes, -d) 800000
scheduling priority (-e) unlimited
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) 800000
open files (-n) 100
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
real-time priority (-r) unlimited
stack size (kbytes, -s) 20240
cpu time (seconds, -t) unlimited
max user processes (-u) 25
virtual memory (kbytes, -v) 800000
file locks (-x) unlimited
An this is my package.json
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production"
},
"devDependencies": {
"#tailwindcss/forms": "^0.2.1",
"#tailwindcss/typography": "^0.3.0",
"alpinejs": "^2.8.2",
"autoprefixer": "^10.2.5",
"axios": "^0.21",
"laravel-mix": "^6.0.18",
"laravel-mix-merge-manifest": "^2.0.0",
"lodash": "^4.17.21",
"postcss": "^8.2.13",
"postcss-import": "^12.0.1",
"tailwindcss": "^2.1.2"
},
"dependencies": {
"sweetalert2": "^10.16.6"
}
}
Any help would be appreciated.
Thanks in advance

xcodebuild cannot build project

In a new mac with a new xcode project, we can build it inside xcode, but it fails with xcodebuild.
The command is: xcodebuild build -project hello.xcodeproj -sdk iphonesimulator.
Here is the build log:
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build -project hello.xcodeproj -sdk iphonesimulator
Build settings from command line:
SDKROOT = iphonesimulator14.2
note: Using new build system
note: Planning build
note: Constructing build description
WriteAuxiliaryFile /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ (iOS).build/DerivedSources/Entitlements.plist (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
write-file /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources/Entitlements.plist
WriteAuxiliaryFile /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ (iOS).build/DerivedSources/Entitlements-Simulated.plist (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
write-file /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources/Entitlements-Simulated.plist
ProcessProductPackaging "" /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ (iOS).build/hello.app-Simulated.xcent (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
...
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name hello -O -whole-module-optimization -enforce-exclusivity\=checked #/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello.SwiftFileList -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk -target arm64-apple-ios14.0-simulator -g -Xfrontend -serialize-debugging-options -swift-version 5 -I /Users/xxx/develop/hello/build/Release-iphonesimulator -F /Users/xxx/develop/hello/build/Release-iphonesimulator -c -num-threads 4 -output-file-map /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello\ \(iOS\)-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello.swiftmodule -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-generated-files.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-own-target-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-all-target-headers.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-project-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/Release-iphonesimulator/include -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources-normal/arm64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources/arm64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources -emit-objc-header -emit-objc-header-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello-Swift.h -working-directory /Users/xxx/develop/hello
CompileSwift normal arm64 (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/xxx/develop/hello/Shared/ContentView.swift /Users/xxx/develop/hello/Shared/helloApp.swift -emit-module-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello.swiftmodule -emit-module-doc-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello.swiftdoc -emit-module-source-info-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello.swiftsourceinfo -serialize-diagnostics-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello\ \(iOS\)-master.dia -emit-objc-header-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello-Swift.h -emit-dependencies-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/hello\ \(iOS\)-master.d -target arm64-apple-ios14.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk -I /Users/xxx/develop/hello/build/Release-iphonesimulator -F /Users/xxx/develop/hello/build/Release-iphonesimulator -g -swift-version 5 -enforce-exclusivity\=checked -O -serialize-debugging-options -Xcc -working-directory -Xcc /Users/xxx/develop/hello -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-generated-files.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-own-target-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-all-target-headers.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-project-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/Release-iphonesimulator/include -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources-normal/arm64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources/arm64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources -target-sdk-version 14.2 -module-name hello -num-threads 4 -o /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/ContentView.o -o /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/arm64/helloApp.o
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sys/cdefs.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
#include <machine/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_dev_t; /* dev_t */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean 'uint64_t'?
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types/_uint64_t.h:31:28: note: 'uint64_t' declared here
typedef unsigned long long uint64_t;
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'
typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:52:
#include <sys/_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:53:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:53:
#include <sys/_types/_intptr_t.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_intptr_t.h:30:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_intptr_t.h:30:
#include <machine/types.h> /* __darwin_intptr_t */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
<module-includes>:5:9: note: in file included from <module-includes>:5:
#import "copyfile.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/copyfile.h:36:
#include <stdint.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:53:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h:53:
#include <sys/_types/_intptr_t.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_intptr_t.h:32:9: error: unknown type name '__darwin_intptr_t'
typedef __darwin_intptr_t intptr_t;
^
<module-includes>:6:9: note: in file included from <module-includes>:6:
#import "ctype.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/ctype.h:69:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/ctype.h:69:
#include <_ctype.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:70:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:70:
#include <runetype.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:42:10: note: in file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:42:
#include <_types.h>
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'
typedef __uint32_t __darwin_wctype_t;
^
<unknown>:0: error: too many errors emitted, stopping now
<unknown>:0: error: could not build Objective-C module 'Darwin'
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name hello -O -whole-module-optimization -enforce-exclusivity\=checked #/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello.SwiftFileList -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk -target x86_64-apple-ios14.0-simulator -g -Xfrontend -serialize-debugging-options -swift-version 5 -I /Users/xxx/develop/hello/build/Release-iphonesimulator -F /Users/xxx/develop/hello/build/Release-iphonesimulator -c -num-threads 4 -output-file-map /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello\ \(iOS\)-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello.swiftmodule -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-generated-files.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-own-target-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-all-target-headers.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-project-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/Release-iphonesimulator/include -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources-normal/x86_64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources/x86_64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources -emit-objc-header -emit-objc-header-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello-Swift.h -working-directory /Users/xxx/develop/hello
CompileSwift normal x86_64 (in target 'hello (iOS)' from project 'hello')
cd /Users/xxx/develop/hello
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/xxx/develop/hello/Shared/ContentView.swift /Users/xxx/develop/hello/Shared/helloApp.swift -emit-module-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello.swiftmodule -emit-module-doc-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello.swiftdoc -emit-module-source-info-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello.swiftsourceinfo -serialize-diagnostics-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello\ \(iOS\)-master.dia -emit-objc-header-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello-Swift.h -emit-dependencies-path /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/hello\ \(iOS\)-master.d -target x86_64-apple-ios14.0-simulator -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk -I /Users/xxx/develop/hello/build/Release-iphonesimulator -F /Users/xxx/develop/hello/build/Release-iphonesimulator -g -swift-version 5 -enforce-exclusivity\=checked -O -serialize-debugging-options -Xcc -working-directory -Xcc /Users/xxx/develop/hello -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-generated-files.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-own-target-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-all-target-headers.hmap -Xcc -iquote -Xcc /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/hello-project-headers.hmap -Xcc -I/Users/xxx/develop/hello/build/Release-iphonesimulator/include -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources-normal/x86_64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources/x86_64 -Xcc -I/Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/DerivedSources -target-sdk-version 14.2 -module-name hello -num-threads 4 -o /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/ContentView.o -o /Users/xxx/develop/hello/build/hello.build/Release-iphonesimulator/hello\ \(iOS\).build/Objects-normal/x86_64/helloApp.o
Command CompileSwift failed with a nonzero exit code
We had tried to delete CommandLineTool folder, and re-install it with xcode-select --install. But nothing changed.
How can we fix the machine? Thanks.
Problem solved. We added CPATH in the .zshrc file... Delete it and it works now.
export CPATH=`xcrun --show-sdk-path`/usr/include

Apache .htaccess integration with CommandBox

I am using the latest version of CommandBox and I'm getting errors when I include my existing .htaccess file in server.json located in the webroot of my site. My .htaccess file is also located in the webroot.
I have tried including the .htaccess in the server.json file. It's being included Ok however when I output server log I am seeing errors and after reading the documentation I can't see any reference to including these modules.
Here is the output of the server log command issued from within CommandBox
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: Include licenses.conf
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: Options All -StopOnError
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_host_module modules/mod_authz_host.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule auth_basic_module modules/mod_auth_basic.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule auth_digest_module modules/mod_auth_digest.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_dbd_module modules/mod_authn_dbd.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_file_module modules/mod_authn_file.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_anon_module modules/mod_authn_anon.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_default_module modules/mod_authn_default.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_user_module modules/mod_authz_user.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_default_module modules/mod_authz_default.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule asis_module modules/mod_asis.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule cache_module modules/mod_cache.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule dbd_module modules/mod_dbd.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule dbd_exec_module modules/mod_dbd_exec.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule deflate_module modules/mod_deflate.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule dir_module modules/mod_dir.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule disk_cache_module modules/mod_mem_cache.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule developer_module modules/mod_developer.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule env_module modules/mod_env.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule expires_module modules/mod_expires.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule filter_module modules/mod_filter.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule gzip_module modules/mod_gzip.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule headers_module modules/mod_headers.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule hotlink_module modules/mod_hotlink.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule linkfreeze_module modules/mod_linkfreeze.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule log_config_module modules/mod_log_config.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule logio_module modules/mod_logio.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule mem_cache_module modules/mod_mem_cache.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule mime_module modules/mod_mime.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule proxy_module modules/mod_proxy.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule rewrite_module modules/mod_rewrite.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule replace_module modules/mod_replace.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule usertrack_module modules/mod_usertrack.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule setenvif_module modules/mod_setenvif.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule speling_module modules/mod_speling.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule seo_module modules/mod_seo.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule xsendfile_module modules/mod_xsendfile.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LogLevel debug
I believe the rewrites in the .htaccess will work ok with the Tuckey rewritefilter, however I'm not sure why these errors are occurring and after it hits the error it doesn't process the rewrites.

many errors running npm run watch-poll command

I tried to remove usused packeges("beyondcode/laravel-websockets": "^1.0" and "pusher/pusher-php-server": "~3.0") from my composer and after that I
got error running :
$ npm run watch-poll
> # watch-poll /mnt/_work_sdb8/wwwroot/lar/votes
> npm run watch -- --watch-poll
> # watch /mnt/_work_sdb8/wwwroot/lar/votes
> npm run development -- --watch "--watch-poll"
> # development /mnt/_work_sdb8/wwwroot/lar/votes
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"
Additional dependencies must be installed. This will only take a moment.
Running: yarn add vue-template-compiler --dev --production=false
Usage: yarn [options]
yarn: error: no such option: --dev
/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/cli.js:93
throw err;
^
Error: Command failed: yarn add vue-template-compiler --dev --production=false
Usage: yarn [options]
yarn: error: no such option: --dev
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:653:13)
at Dependencies.execute (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Dependencies.js:53:22)
at dependencies.reject.tap.dependencies (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Dependencies.js:32:22)
at Array.value (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/helpers.js:24:13)
at Dependencies.install (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Dependencies.js:31:14)
at Function.dependencies (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Assert.js:77:40)
at concat.filter.tap.dependencies (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/components/ComponentFactory.js:131:24)
at Array.value (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/helpers.js:24:13)
at ComponentFactory.installDependencies (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/components/ComponentFactory.js:130:14)
at Mix.listen (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/components/ComponentFactory.js:55:44)
at events.(anonymous function).forEach.handler (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Dispatcher.js:34:47)
at Array.forEach (<anonymous>)
at Dispatcher.fire (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Dispatcher.js:34:28)
at Mix.dispatch (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/src/Mix.js:119:25)
at Object.<anonymous> (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/laravel-mix/setup/webpack.config.js:19:5)
at Module._compile (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/utils/convert-argv.js:116:13)
at requireConfig (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/utils/convert-argv.js:118:6)
at /mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/utils/convert-argv.js:125:17
at Array.forEach (<anonymous>)
at module.exports (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/utils/convert-argv.js:123:15)
at yargs.parse (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18)
at /mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/webpack-cli/bin/cli.js:365:3)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! # development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the # development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/serge/.npm/_logs/2019-07-05T14_34_47_549Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! # watch: `npm run development -- --watch "--watch-poll"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the # watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/serge/.npm/_logs/2019-07-05T14_34_47_571Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! # watch-poll: `npm run watch -- --watch-poll`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the # watch-poll script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/serge/.npm/_logs/2019-07-05T14_34_47_590Z-debug.log
Mentioned files has content :
2019-07-05T14_34_47_549Z-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'run',
1 verbose cli 'development',
1 verbose cli '--',
1 verbose cli '--watch',
1 verbose cli '--watch-poll' ]
2 info using npm#6.9.0
3 info using node#v10.15.3
4 verbose run-script [ 'predevelopment', 'development', 'postdevelopment' ]
5 info lifecycle #~predevelopment: #
6 info lifecycle #~development: #
7 verbose lifecycle #~development: unsafe-perm in lifecycle true
8 verbose lifecycle #~development: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/.bin:/home/serge/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/serge/.composer/vendor/bin
9 verbose lifecycle #~development: CWD: /mnt/_work_sdb8/wwwroot/lar/votes
10 silly lifecycle #~development: Args: [ '-c',
10 silly lifecycle 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"' ]
11 silly lifecycle #~development: Returned: code: 1 signal: null
12 info lifecycle #~development: Failed to exec development script
13 verbose stack Error: # development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:189:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:189:13)
13 verbose stack at maybeClose (internal/child_process.js:970:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid #
15 verbose cwd /mnt/_work_sdb8/wwwroot/lar/votes
16 verbose Linux 4.15.0-54-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "development" "--" "--watch" "--watch-poll"
18 verbose node v10.15.3
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error # development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"`
22 error Exit status 1
23 error Failed at the # development script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
2019-07-05T14_34_47_571Z-debug.log :
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'run',
1 verbose cli 'watch',
1 verbose cli '--',
1 verbose cli '--watch-poll' ]
2 info using npm#6.9.0
3 info using node#v10.15.3
4 verbose run-script [ 'prewatch', 'watch', 'postwatch' ]
5 info lifecycle #~prewatch: #
6 info lifecycle #~watch: #
7 verbose lifecycle #~watch: unsafe-perm in lifecycle true
8 verbose lifecycle #~watch: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/.bin:/home/serge/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/serge/.composer/vendor/bin
9 verbose lifecycle #~watch: CWD: /mnt/_work_sdb8/wwwroot/lar/votes
10 silly lifecycle #~watch: Args: [ '-c', 'npm run development -- --watch "--watch-poll"' ]
11 silly lifecycle #~watch: Returned: code: 1 signal: null
12 info lifecycle #~watch: Failed to exec watch script
13 verbose stack Error: # watch: `npm run development -- --watch "--watch-poll"`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:189:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:189:13)
13 verbose stack at maybeClose (internal/child_process.js:970:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid #
15 verbose cwd /mnt/_work_sdb8/wwwroot/lar/votes
16 verbose Linux 4.15.0-54-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "watch" "--" "--watch-poll"
18 verbose node v10.15.3
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error # watch: `npm run development -- --watch "--watch-poll"`
22 error Exit status 1
23 error Failed at the # watch script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
2019-07-05T14_34_47_590Z-debug.log :
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'watch-poll' ]
2 info using npm#6.9.0
3 info using node#v10.15.3
4 verbose run-script [ 'prewatch-poll', 'watch-poll', 'postwatch-poll' ]
5 info lifecycle #~prewatch-poll: #
6 info lifecycle #~watch-poll: #
7 verbose lifecycle #~watch-poll: unsafe-perm in lifecycle true
8 verbose lifecycle #~watch-poll: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/votes/node_modules/.bin:/home/serge/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/serge/.composer/vendor/bin
9 verbose lifecycle #~watch-poll: CWD: /mnt/_work_sdb8/wwwroot/lar/votes
10 silly lifecycle #~watch-poll: Args: [ '-c', 'npm run watch -- --watch-poll' ]
11 silly lifecycle #~watch-poll: Returned: code: 1 signal: null
12 info lifecycle #~watch-poll: Failed to exec watch-poll script
13 verbose stack Error: # watch-poll: `npm run watch -- --watch-poll`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:189:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:189:13)
13 verbose stack at maybeClose (internal/child_process.js:970:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid #
15 verbose cwd /mnt/_work_sdb8/wwwroot/lar/votes
16 verbose Linux 4.15.0-54-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "watch-poll"
18 verbose node v10.15.3
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error # watch-poll: `npm run watch -- --watch-poll`
22 error Exit status 1
23 error Failed at the # watch-poll script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
My composer.json :
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.1.3",
"alaouy/youtube": "^2.2",
"aloha/twilio": "^4.0",
"arrilot/laravel-widgets": "^3.12",
"cviebrock/eloquent-sluggable": "^4.5",
"davejamesmiller/laravel-breadcrumbs": "5.x",
"doctrine/dbal": "^2.8",
"elasticquent/elasticquent": "dev-master",
"facebook/graph-sdk": "^5.7",
"fideloper/proxy": "^4.0",
"google/apiclient": "^2.2",
"intervention/image": "^2.4",
"itsgoingd/clockwork": "^3.0",
"jrean/laravel-user-verification": "^7.0",
"laravel/framework": "5.8.*",
"laravel/socialite": "^3.2",
"laravel/tinker": "^1.0",
"laravelium/sitemap": "^3.1",
"maatwebsite/excel": "^3.1",
"mews/captcha": "^2.2",
"mews/purifier": "^2.1",
"paypal/rest-api-sdk-php": "*",
"proengsoft/laravel-jsvalidation": ">2.2.0",
"s-ichikawa/laravel-sendgrid-driver": "~2.0",
"snowfire/beautymail": "dev-master",
"socialiteproviders/instagram": "^3.0",
"spatie/browsershot": "^3.27",
"spatie/laravel-activitylog": "^3.1",
"spatie/laravel-backup": "^6.1",
"spatie/laravel-feed": "^2.1",
"spatie/laravel-image-optimizer": "^1.4",
"spatie/laravel-newsletter": "^4.2",
"spatie/laravel-sitemap": "^5.3",
"spatie/laravel-tags": "^2.1",
"spipu/html2pdf": "^5.2",
"themsaid/laravel-mail-preview": "^2.0",
"unisharp/laravel-filemanager": "^1.9",
"wboyz/laravel-enum": "^0.2.1",
"willvincent/feeds": "1.1.*",
"yajra/laravel-datatables-oracle": "^9.0.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.1",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"orangehill/iseed": "^2.6",
"phpunit/phpunit": "^7.0",
"xethron/migrations-generator": "^2.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
]
}
},
"scripts": {
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover"
],
"post-update-cmd": [
"php artisan vendor:publish --provider=\"Proengsoft\\JsValidation\\JsValidationServiceProvider\" --tag=public --force"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
package.json:
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"axios": "^0.19.0",
"bootstrap": "^4.3.1",
"cross-env": "^5.1",
"laravel-mix": "^4.0.16",
"lodash": "^4.17.11",
"popper.js": "^1.14.6",
"vue": "^2.5.7"
},
"dependencies": {
"bootstrap-colorpicker": "^3.1.2",
"datatables.net-bs": "^1.10.19",
"font-awesome": "^4.7.0",
"jquery": "^3.4.1",
"jquery-confirm": "^3.3.2",
"laravel-echo": "^1.5.2",
"mustache": "^2.3.0",
"node-sass": "^4.12.0",
"pusher-js": "^4.3.1"
}
}
Also I commented all pusher vars in .env file.
I deleted and recreated vendor and node_modules dirs...
I do not know is this error related to cleraring of packeges ?
Why error and how to fix it?
I believe you just need to run npm install vue-template-compiler --dev

pandoc-ruby error when running documented example

When running the following script using pandoc-ruby (directly from the documentation) I get an error.
require 'rubygems'
require 'pandoc-ruby'
puts PandocRuby.convert('# Markdown Title', :from => :markdown, :to => :html)
Output:
[dan#FIOS-RH test-markdown]$ ruby convert.rb
/usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:250:in `format_flag': undefined method `length' for :from:Symbol (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:241:in `create_option'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:225:in `prepare_options'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `inject'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:222:in `each'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:222:in `inject'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:222:in `prepare_options'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:227:in `prepare_options'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `inject'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:222:in `each'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:222:in `inject'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:222:in `prepare_options'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:131:in `convert'
from /usr/lib/ruby/gems/1.8/gems/pandoc-ruby-0.7.4/lib/pandoc-ruby.rb:86:in `convert'
from convert.rb:3
[dan ]$ pandoc --version
pandoc 1.11.1
...
[dan ]$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
pandoc-ruby version: 0.7.4
Am I missing something obvious?

Resources