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

Build Dev in Windows #1919

Closed
jneilliii opened this issue Jun 7, 2021 · 3 comments
Closed

Build Dev in Windows #1919

jneilliii opened this issue Jun 7, 2021 · 3 comments
Labels
support Something isn't working with the users setup

Comments

@jneilliii
Copy link
Contributor

What doesn't work?
Trying to npm run build latest main branch as of the time of this post and getting error.

App threw an error during load
Error: reference "http://example.com/root.json#/properties/plugins/properties/printTimeGenius/properties/enabled" resolves to more than one schema
    at ambiguos (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\ajv\dist\compile\resolve.js:149:16)
    at Ajv.addRef (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\ajv\dist\compile\resolve.js:116:23)
    at C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\ajv\dist\compile\resolve.js:109:29
    at _traverse (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\json-schema-traverse\index.js:69:5)
    at _traverse (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\json-schema-traverse\index.js:80:13)
    at _traverse (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\json-schema-traverse\index.js:80:13)
    at _traverse (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\json-schema-traverse\index.js:80:13)
    at module.exports (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\json-schema-traverse\index.js:14:3)
    at Ajv.getSchemaRefs (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\ajv\dist\compile\resolve.js:103:5)
    at Ajv._addSchema (C:\Users\jneil\Documents\3D Prints\PrinterUprades\OrdBotHadron\OctoprintRelated\OctoDash\node_modules\ajv\dist\core.js:442:51)

What did you already try?
Tried npm clean-install and build again and same result.

General Information:

  • ASUS Laptop i7 processor
  • Windows 10, node v14.15.4, npm v7.16.0
  • OctoDash Version v2.2.0
  • OctoPrint Version v1.6.1 (n/a)

Additional context
Just the error listed above. Any hints would be greatly appreciated.

@jneilliii jneilliii added the support Something isn't working with the users setup label Jun 7, 2021
@UnchartedBull
Copy link
Owner

Hmmm this is really weird and shouldn't happen. I only run macOS und Linux, so I can't reproduce this on my machine, but my best guess would be to change the ajv version up (if available) or down and check whether that solves the issue.

@UnchartedBull
Copy link
Owner

Ok I was just able to replicate this on my Linux machine. Going to push a fix to master directly after fixing it!

@UnchartedBull
Copy link
Owner

This should be fixed with 036561e. Please reopen if the issue reappears / doesn't get fixed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

2 participants