@drmhse/authos-cli 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +25 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -120,6 +120,31 @@ await addCommand({
120
120
  });
121
121
  ```
122
122
 
123
+ ## Troubleshooting
124
+
125
+ ### Framework Detection Failed
126
+
127
+ If `authos init` fails to detect your framework:
128
+
129
+ 1. Ensure you are in the root directory of your project (where `package.json` is).
130
+ 2. Manually specify the framework when initializing:
131
+
132
+ ```bash
133
+ # For Next.js/React
134
+ authos init --framework next
135
+
136
+ # For Nuxt/Vue
137
+ authos init --framework nuxt
138
+ ```
139
+
140
+ ### Component Installation Errors
141
+
142
+ If `authos add` fails to write files:
143
+
144
+ 1. Check that you have a `components/` directory in your project.
145
+ 2. Ensure you have write permissions in your project directory.
146
+ 3. Try running with verbose logging (if available) or check console output for specific error messages.
147
+
123
148
  ## License
124
149
 
125
150
  MIT © DRM HSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drmhse/authos-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "CLI tool for scaffolding AuthOS integrations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",