openresty / openresty/lua-nginx-module

runtime error: content_by_lua(nginx.conf:):: module 'xxx' not found

Open
#2,113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

Re

 # set search paths for pure Lua external libraries (';;' is the default path):
 lua_package_path '/foo/bar/?.lua;/blah/?.lua;;';

in the docs: how do I get the default path?
default: The content of LUA_PATH environment variable or Lua's compiled-in defaults.
isn't helpful - not for a newbie at least :-) Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the documentation for the lua_package_path directive and review the explanation of its default value. Clarify how a newcomer can determine the default Lua search path, including the role of LUA_PATH and Lua's compiled-in defaults; the documentation should answer the question without requiring prior Lua knowledge.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.