Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkError #46

Open
dscroft opened this issue Nov 13, 2024 · 2 comments
Open

NetworkError #46

dscroft opened this issue Nov 13, 2024 · 2 comments

Comments

@dscroft
Copy link

dscroft commented Nov 13, 2024

Starting in the last few days any attempt to use the exporter produces a NetworkError (full error below). This is occurring on multiple local machines and is also in the a GitHub workflow (configured as described here #45)

NetworkError
    at XMLHttpRequest.send (/usr/local/lib/node_modules/@liascript/exporter/node_modules/xhr2/lib/xhr2.js:281:19)
    at Object.b (/usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:11280)
    at /usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:8491
    at Hr (/usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:8629)
    at Mr (/usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:8183)
    at /usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:9709
    at Qr (/usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:9745)
    at /usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:9258
    at Object.send (/usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:102937)
    at ru (/usr/local/lib/node_modules/@liascript/exporter/dist/index.js:2:199268)
@dscroft dscroft closed this as completed Nov 13, 2024
@dscroft
Copy link
Author

dscroft commented Nov 13, 2024

Issue occurs when I have an import: statement in markdown file pointing at a local file. Issue disappears if I change the import to a url.

Example dir structure
demo_project/

  • demo.md
  • macros.md

Running the command from the root of the project:
liaex --path demo_project --input demo_project/demo.md --format scorm1.2 --output demo

If demo.md contains the following I get NetworkError

<!--
import: macros.md
-->

If demo.md contains the following it works, I would prefer to keep everything in the scorm package. I can see if I open the scorm that the macros.md file is being included in the .zip file.

<!--
import: https://raw.githubusercontent.com/dscroft/lia/main/demo_project/macros.md
-->

@dscroft dscroft reopened this Nov 13, 2024
@andre-dietrich
Copy link
Member

Thanks for reporting ... If you update the exporter, this problem should be fixed ... hopefully ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants