Domo.JS is not getting created via domo init
Domo.js is not getting deployed when I create a new project using domo init. I know there are workarounds to create this using
npm install --save ryuu.js
But I am wondering if this is a symptom for some systemic problem which is also causing my projects to error out with message such as these:
Answers
-
GET https://localhost:3000/domo.js net::ERR_ABORTED 404 (not found)
This error indicates that the application is trying to load domo.js from localhost:3000, but the file does not exist, resulting in a 404 error. This is a key issue: domo.js is missing or not correctly deployed to your local server.
Refused to execute script from 'http://localhost:3000/domo.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
This indicates that the server is returning an HTML response when trying to load domo.js. This likely means the server is serving a fallback HTML page (often a 404 page) instead of the actual JavaScript file. Because the MIME type is text/html instead of application/javascript, the browser refuses to execute the file.
Unexpected end of JSON input at JSON.parse at index.js:6:22. This error is happening because the response returned from trying to fetch domo.js is not valid JSON (it's likely an HTML 404 page), and when the code tries to parse it as JSON, it throws an error because it's incomplete or incorrectly formatted.
Check if domo.js is generated and deployed correctly. Re-run: domo init
You could try updating the Domo CLI, manually install ryuu.js which is often used in conjunction with domo.js.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 99 SQL DataFlows
- 612 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 717 Beast Mode
- 51 App Studio
- 40 Variables
- 672 Automate
- 171 Apps
- 449 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 392 Distribute
- 111 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 118 Manage
- 115 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 104 Community Announcements
- 4.8K Archive