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
/home/iojs/build/workspace/node-test-node-addon-api-new/nodes/debian10-x64/node-addon-api/test/index.js:93
process.config.target_defaults.default_configuration =
^
TypeError: Cannot assign to read only property 'default_configuration' of object '#<Object>'
at Object.<anonymous> (/home/iojs/build/workspace/node-test-node-addon-api-new/nodes/debian10-x64/node-addon-api/test/index.js:93:54)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
I'm going to remove that code so that the ci tests start running again, that will break the ability to run in debug I think, so I'll leave this issue open until we figure that out.
Activity
mhdawson commentedon Sep 20, 2022
Likely related to nodejs/node@e0ab8dd
mhdawson commentedon Sep 20, 2022
This is the code in the test script
mhdawson commentedon Sep 20, 2022
I'm going to remove that code so that the ci tests start running again, that will break the ability to run in debug I think, so I'll leave this issue open until we figure that out.
mhdawson commentedon Sep 20, 2022
PR #1208 to remove and get ci working again.
mhdawson commentedon Sep 23, 2022
CI is green again.
mhdawson commentedon Sep 23, 2022
Places where we read
default_configurationhttps://github.com/nodejs/node-addon-api/search?q=default_configuration
mhdawson commentedon Sep 23, 2022
@NickNaso is going to work on doing updates the replace the usage of default_configuration in the existing test files.
Discussion around how to choose.
NickNaso commentedon Dec 9, 2022
I'm closing the issue because the PR #1226 has been merged.