parent
e41febc653
commit
bf781deb59
@ -123,6 +123,7 @@ This demo was last tested in the following deployments:
|
||||
|:-------------|:--------|:-----------|
|
||||
| `darwin-x64` | `1.1.4` | 2024-04-19 |
|
||||
| `win10-x64` | `1.1.4` | 2024-04-19 |
|
||||
| `win11-x64` | `1.1.8` | 2024-05-17 |
|
||||
| `linux-x64` | `1.1.4` | 2024-04-25 |
|
||||
|
||||
:::
|
||||
@ -206,6 +207,19 @@ rm package.json bun.lockb SheetJSBun.js
|
||||
rm -rf ./node_modules
|
||||
```
|
||||
|
||||
:::note pass
|
||||
|
||||
PowerShell does not support `rm -rf`. Instead, each file must be removed:
|
||||
|
||||
```powershell title="Windows Powershell commands"
|
||||
rm package.json
|
||||
rm bun.lockb
|
||||
rm SheetJSBun.js
|
||||
rm .\\node_modules -r -fo
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
At this point, `app.js` will be the only file in the project folder.
|
||||
|
||||
5) Run the script:
|
||||
|
@ -342,6 +342,26 @@ var newfile = file.create({
|
||||
context.response.writeFile(newfile);
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
[NetSuite users reported](https://git.sheetjs.com/sheetjs/sheetjs/issues/3097)
|
||||
errors using SheetJS scripts:
|
||||
|
||||
```
|
||||
Fail to evaluate script: com.netsuite.suitescript.scriptobject.GraalValueAdapter@68d0f09d
|
||||
```
|
||||
|
||||
NetSuite is incorrectly treating `xlsx` as a reserved word. As this behavior is
|
||||
not documented, it is believed to be a NetSuite bug.
|
||||
|
||||
[Exasperated](https://git.sheetjs.com/sheetjs/sheetjs/issues/3097#issue-3378)
|
||||
users concluded that Oracle will not be addressing this bug:
|
||||
|
||||
> Oracle is not going to do anything with this
|
||||
|
||||
The ["Oracle Bugs"](/docs/getting-started/installation/amd#netsuite) warning in
|
||||
the NetSuite installation page includes a workaround that involves manually
|
||||
patching the library.
|
||||
|
||||
[^1]: See ["SuiteScript 2.x API Introduction"](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/chapter_4387172221.html) in the NetSuite documentation.
|
||||
[^2]: See ["SuiteScript 2.x Custom Modules"](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/chapter_4704097697.html) in the NetSuite documentation.
|
||||
|
Loading…
Reference in New Issue
Block a user