-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Bug] #137
Comments
@lazycodeman This could come from either Cosma or your config file. Have you checked that you're running |
Thank you very much for your reply. This is my config file:
I am sure I run |
I finally know how to fix that. The .\data and .\export\ should be in ' ' instead of " ". The default " " in the config file confuses me. |
@lazycodeman That's strange. My understanding is that YAML accepts either single or double quotes. Most of my own config files use double quotes and I never had that issue. So this may not be the reason for the error you got initially, and another modification may have fixed it… I'm pinging @Myllaume to look at this, maybe he'll see something I didn't. |
What version of Cosma are you using?
2.4.1
On which operating system(s) did you observe the bug?
What version of the operating system are you on?
Windows 11 Home, OS build 22621.4169
Actions leading to the bug
cosma record
Bug description
C:\Users\User\AppData\Roaming\npm\node_modules@graphlab-fr\cosma\core\models\config.js:364
throw new ErrorConfig('The config file cannot be parsed.');
^
Error Config: The config file cannot be parsed.
at Config.get (C:\Users\User\AppData\Roaming\npm\node_modules@graphlab-fr\cosma\core\models\config.js:364:13)
at C:\Users\User\AppData\Roaming\npm\node_modules@graphlab-fr\cosma\controllers\record.js:14:25
at Object. (C:\Users\User\AppData\Roaming\npm\node_modules@graphlab-fr\cosma\controllers\record.js:88:3)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Command. (C:\Users\User\AppData\Roaming\npm\node_modules@graphlab-fr\cosma\app.js:100:5)
Node.js v20.17.0
Additional information
Node version: v20.17.0
NPM: 10.8.2
The text was updated successfully, but these errors were encountered: