Based on your reply, I got it to work again. I am not using office recipes so I am good with node 16.x. Thank you very much for your support.
herbthecoder
@herbthecoder
Posts made by herbthecoder
-
RE: Error occured during reporter init Error: root schema is not valid. errors: rootSchema.properties['blobStorage'].properties['provider'].enum should NOT have duplicate items (items ## 1 and 2 are identical)
-
RE: Error occured during reporter init Error: root schema is not valid. errors: rootSchema.properties['blobStorage'].properties['provider'].enum should NOT have duplicate items (items ## 1 and 2 are identical)
says I don't have privileges[0_1649786100149_package.json]
Here is package.json
{
"name": "jsreport-server",
"main": "server.js",
"scripts": {
"start": "node server",
"jsreport": "jsreport"
},
"jsreport": {
"entryPoint": "server.js"
},
"dependencies": {
"axios": "^0.21.1",
"jsreport": "^2.11.0",
"jsreport-cli": "^2.2.5"
}
}Here is jsreport.config.json
{
"name": "jsreport-server",
"main": "server.js",
"scripts": {
"start": "node server",
"jsreport": "jsreport"
},
"jsreport": {
"entryPoint": "server.js"
},
"dependencies": {
"axios": "^0.21.1",
"jsreport": "^2.11.0",
"jsreport-cli": "^2.2.5"
}
} -
RE: Error occured during reporter init Error: root schema is not valid. errors: rootSchema.properties['blobStorage'].properties['provider'].enum should NOT have duplicate items (items ## 1 and 2 are identical)
attached are the files requested.
Here is the output:PS C:\Development\Projects\Houzskool\Marketing\hz-free-req-jsreport> jsreport start --httpPort=5501
root schema is not valid. errors: rootSchema.properties['blobStorage'].properties['provider'].enum should NOT have duplicate items (items ## 1 and 2 are identical) (1).
caused by error (1):
-> stack
Error:
at addDefaultsAndValidateRootSchema (C:\Development\Projects\Houzskool\Marketing\hz-free-req-jsreport\node_modules\jsreport-core\lib\util\schemaValidator.js:193:11)
at SchemaValidator.setRootSchema (C:\Development\Projects\Houzskool\Marketing\hz-free-req-jsreport\node_modules\jsreport-core\lib\util\schemaValidator.js:110:42)
at Reporter.extensionsLoad (C:\Development\Projects\Houzskool\Marketing\hz-free-req-jsreport\node_modules\jsreport-core\lib\reporter.js:127:27)
at async Object.findAndLoadExtensionsCommands (C:\Users\Herb\AppData\Roaming\npm\node_modules@jsreport\jsreport-cli\lib\commander\jsreportInstance.js:95:3)
at async startCommand (C:\Users\Herb\AppData\Roaming\npm\node_modules@jsreport\jsreport-cli\lib\commander\startCommand.js:91:5)
at async startProcessing (C:\Users\Herb\AppData\Roaming\npm\node_modules@jsreport\jsreport-cli\lib\commander\startProcessing.js:195:3)Thank You
[1_1649785889091_package.json](Uploading 100%) [0_1649785889090_jsreport.config.json](Uploading 100%)
-
Error occured during reporter init Error: root schema is not valid. errors: rootSchema.properties['blobStorage'].properties['provider'].enum should NOT have duplicate items (items ## 1 and 2 are identical)
Hi,
I just upgrade my node version to the latest and the js report to v 2.11.
I am getting a lot of warnings 'Filtering out duplicated extension...' from node_modules....I deleted the node_modules folder and ran npm install.
I restarted but when I went to localhost://5501 the browser just displayed a spinner and jsreport studio did not render.
I closed the browser and restarted, but I am getting the same errors about duplicate extensions.Any ideas?
-
RE: How to run jsreport studio
I figured it out. Port 6000 is unsafe. I changed the port and it works. Thank You
-
RE: How to run jsreport studio
Thanks for the reply.
I changed the port to 6000. It does say it started on 6000. What do I do next? I don't see the report studio. I tried https://localhost:6000/
but that does not bring up the report. -
How to run jsreport studio
Hello,
Can anyone tell me how to run jsreport studio?
I have tried going to a command prompt of my project directory
and executed the jsreport start which initializes the report engine without error.
I then tried going to a browser localhost:5500 and I don't see the report studio.
How do I get jsreport studio to render? -
RE: json file renamed to dataJson in jsreports studio
Because I want to work in Visual Studio Code. The jsreport studio editor font is too small and it does not seem to color code json nicely.
I have about 50 json files as I am creating a report for each state in the United States. It's confusing to see dataJson.json for all the tabs I have opened. -
json file renamed to dataJson in jsreports studio
Hi,
Is there a way to configure jsreport studio not to rename my original json file to dataJson?