@pwaos.net/runtime-client-api 0.2.5 → 0.2.7
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.
- package/README.md +26 -0
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -19,6 +19,32 @@ This package automatically pulls in
|
|
|
19
19
|
the prebuilt Runtime SDK distribution for your platform. The native addon is built automatically
|
|
20
20
|
at install time (or loaded from prebuilt binaries). No manual download or compilation is required.
|
|
21
21
|
|
|
22
|
+
## Troubleshooting
|
|
23
|
+
|
|
24
|
+
### Windows: `missing any Windows SDK` even though the SDK is installed
|
|
25
|
+
|
|
26
|
+
**Symptom**
|
|
27
|
+
|
|
28
|
+
`npm install "@pwaos.net/runtime-client-api"` from a regular PowerShell or CMD
|
|
29
|
+
window fails with:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
gyp ERR! find VS - found VC++ toolset: v142
|
|
33
|
+
gyp ERR! find VS - missing any Windows SDK
|
|
34
|
+
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
|
|
35
|
+
|
|
36
|
+
Fix: Run npm install from a Native Tools Command Prompt instead of a regular
|
|
37
|
+
shell:
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
cd <your-project>
|
|
41
|
+
npm install @pwaos.net/runtime-client-api
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The Native Tools Command Prompt preconfigures all MSVC-related environment
|
|
45
|
+
variables that node-gyp needs, so the build finds the toolchain and the
|
|
46
|
+
installed Windows SDK automatically.
|
|
47
|
+
|
|
22
48
|
## Platform Support
|
|
23
49
|
|
|
24
50
|
| OS | Architecture | Status |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pwaos.net/runtime-client-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Node.js native addon for the PwaOS RuntimeClient API. Automatically resolves the matching Runtime SDK for your platform.",
|
|
6
6
|
"engines": {
|
|
@@ -39,10 +39,8 @@
|
|
|
39
39
|
"./package.json": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@pwaos.net/runtime": "^0.2.
|
|
43
|
-
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"node-gyp": "^10.0.0"
|
|
42
|
+
"@pwaos.net/runtime": "^0.2.4",
|
|
43
|
+
"node-gyp": "^10.2.0"
|
|
46
44
|
},
|
|
47
45
|
"scripts": {
|
|
48
46
|
"install": "node-gyp rebuild",
|