You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #503 I added 3 columns to the config/model.csv file used by plugin-config, but I forgot that there is code in the create package that updates this file at project creation time. Building an app generated using the create package produces this error message:
> [email protected] dev
> sde dev
CsvError: Invalid Record Length: columns length is 6, got 3 on line 2
at Object.__onRecord (file:///tmp/test7/node_modules/csv-parse/lib/api/index.js:372:11)
at Object.parse (file:///tmp/test7/node_modules/csv-parse/lib/api/index.js:247:40)
at parse (file:///tmp/test7/node_modules/csv-parse/lib/sync.js:20:23)
at readCsvFile (file:///tmp/test7/node_modules/@sdeverywhere/plugin-config/dist/index.js:327:10)
at readConfigCsvFile (file:///tmp/test7/node_modules/@sdeverywhere/plugin-config/dist/index.js:335:10)
at createConfigContext (file:///tmp/test7/node_modules/@sdeverywhere/plugin-config/dist/index.js:293:20)
at processModelConfig (file:///tmp/test7/node_modules/@sdeverywhere/plugin-config/dist/index.js:851:19)
at Object.modelSpec (file:///tmp/test7/node_modules/@sdeverywhere/plugin-config/dist/index.js:819:12)
at buildOnce (file:///tmp/test7/node_modules/@sdeverywhere/build/dist/index.js:683:44)
at build (file:///tmp/test7/node_modules/@sdeverywhere/build/dist/index.js:903:33) {
code: 'CSV_RECORD_INCONSISTENT_COLUMNS',
bytes: 118,
comment_lines: 0,
empty_lines: 0,
invalid_field_length: 0,
lines: 2,
records: 0,
columns: [
{ name: 'graph default min time' },
{ name: 'graph default max time' },
{ name: 'model dat files' },
{ name: 'bundle listing' },
{ name: 'custom lookups' },
{ name: 'custom outputs' }
],
I need to change the create package to add default values for those 3 columns.
The text was updated successfully, but these errors were encountered:
In #503 I added 3 columns to the
config/model.csv
file used byplugin-config
, but I forgot that there is code in thecreate
package that updates this file at project creation time. Building an app generated using thecreate
package produces this error message:I need to change the
create
package to add default values for those 3 columns.The text was updated successfully, but these errors were encountered: