\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript>\r\nimport axios from \"axios\";\r\nexport default {\r\n emits: ['input'],\r\n props: {\r\n value: String\r\n },\r\n data() {\r\n return {\r\n items: []\r\n };\r\n },\r\n async created() {\r\n const response = await axios.get(\r\n \"https://some-api.com\"\r\n );\r\n this.items = response.data;\r\n },\r\n};\r\n\u003C/script>\r\n```\r\n```\r\n{\r\n \"name\": \"picker\",\r\n \"version\": \"1.0.0\",\r\n \"description\": \"\",\r\n \"main\": \"index.js\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"\",\r\n \"license\": \"ISC\",\r\n \"directus:extension\": {\r\n \"type\": \"interface\",\r\n \"path\": \"dist/index.js\",\r\n \"source\": \"src/index.js\",\r\n \"host\": \"^9.0.0-rc.91\",\r\n \"hidden\": false\r\n },\r\n \"devDependencies\": {\r\n \"@directus/extension-sdk\": \"^9.0.0-rc.91\",\r\n },\r\n \"dependencies\": {\r\n \"axios\": \"^0.21.1\"\r\n }\r\n}\r\n```\r\n\r\n### What version of Directus are you using?\r\n\r\n9.0.0-rc.91\r\n\r\n### What version of Node.js are you using?\r\n\r\nv12.20.2\r\n\r\n### What database are you using?\r\n\r\nPostgres 12\r\n\r\n### What browser are you using?\r\n\r\nChrome\r\n\r\n### What operating system are you using?\r\n\r\nMacOS\r\n\r\n### How are you deploying Directus?\r\n\r\nDocker",[2931],{"name":2932,"color":2933},"Bug","D93F0B",7620,"closed","Extensions building throws a \"@rollup/plugin-json\" related error","2024-02-03T16:04:11Z","https://github.com/directus/directus/issues/7620",0.67950773,{"description":2941,"labels":2942,"number":2943,"owner":2922,"repository":2922,"state":2935,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Preflight Checklist\r\n\r\n- [X] I have completed all [Troubleshooting Steps](https://docs.directus.io/getting-started/support/#troubleshooting-steps).\r\n- [X] I'm on [the latest version of Directus](https://github.com/directus/directus/releases).\r\n- [X] There's [no other issue](https://github.com/directus/directus/issues?q=is%3Aissue) that already describes my problem.\r\n\r\n### Describe the Bug\r\n\r\nI try to implement jspdf into a custom-endpoint.\r\nWhen trying to build the extension, rollup throws the following error:\r\n\r\n> Error: Invalid value for option \"output.file\" - when building multiple chunks, the \"output.dir\" option must be used, not \"output.file\". To inline dynamic imports, set the \"inlineDynamicImports\" option.\r\n\r\nThis seems to indikate that the rollup-implementation as set up to package everything into a single file.\r\n\r\nI digged arround a little bit into the script and found that there is the chance to create a _extensions.config.js_ to pass data to rollup. But trying to force it to either use dir-mode instead of file-mode or allowing inlineDynamicImports does not seem to work as intendet as in it does not have any effect. But maybe I'm missing some part here in how to setup the _extensions.config.js_ correctly to pass that information:\r\n```\r\nexport default {\r\n output: {\r\n dir: './dist'\r\n },\r\n }\r\n```\r\n\r\nMaybe this is not per se a bug but a feature-request or asking for en enhancment of the docs in regards to the rollup-config.\r\n\r\n\r\n### To Reproduce\r\n\r\nnpm install jspdf\r\n\r\nindex.js:\r\n`import { jsPDF } from \"jspdf\";`\r\n\r\nnpm run build\r\n\r\n### Errors Shown\r\n\r\n```\r\n✖ Failed\r\n\r\nError: Invalid value for option \"output.file\" - when building multiple chunks, the \"output.dir\" option must be used, not \"output.file\". To inline dynamic imports, set the \"inlineDynamicImports\" option.\r\n[Error] https://rollupjs.org/guide/en/#outputdir\r\nError: Invalid value for option \"output.file\" - when building multiple chunks, the \"output.dir\" option must be used, not \"output.file\". To inline dynamic imports, set the \"inlineDynamicImports\" option.\r\n```\r\n\r\n### What version of Directus are you using?\r\n\r\n-\r\n\r\n### What version of Node.js are you using?\r\n\r\n14.7.0\r\n\r\n### What database are you using?\r\n\r\n-\r\n\r\n### What browser are you using?\r\n\r\n-\r\n\r\n### What operating system are you using?\r\n\r\nWindows 10\r\n\r\n### How are you deploying Directus?\r\n\r\n-",[],10890,"Extension npm build : Invalid value for option \"output.file\"","2022-01-06T18:35:34Z","https://github.com/directus/directus/issues/10890",0.70332193,{"description":2949,"labels":2950,"number":2952,"owner":2922,"repository":2922,"state":2935,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### Preflight Checklist\n\n- [x] I have completed all [Troubleshooting Steps](https://docs.directus.io/getting-started/support/#troubleshooting-steps).\n- [X] I'm on [the latest version of Directus](https://github.com/directus/directus/releases).\n- [X] There's [no other issue](https://github.com/directus/directus/issues?q=is%3Aissue) that already describes my problem.\n\n### Describe the Bug\n\n**Bug**\r\n- Directus is crashing every time the extension is reloaded.\r\n\r\n**Important**\r\n- It's a module extension and it works fine after restarting directus\r\n- It only crashes directus when it tries to reload the extension \r\n\r\n**Extension file**\r\n`import{resolveComponent as e,openBlock as o,createBlock as t,withCtx as r,createTextVNode as n}from\"vue\";var a={};const u=n(\"Content goes here...\");a.render=function(n,a,d,i,l,s){const c=e(\"private-view\");return o(),t(c,{title:\"My Custom Module\"},{default:r((()=>[u])),_:1})},a.__file=\"src/module.vue\";var d={id:\"leonardo\",name:\"leonardo\",icon:\"box\",routes:[{path:\"\",component:a}]};export{d as default};`\r\n\r\n**Extension location**\r\n`/directus/extensions/modules/leonardo/index.js`\n\n### To Reproduce\n\n1. Install Directus\r\n2. Set EXTENSIONS_AUTO_RELOAD config to true\r\n2. Copy the extension code (use the sample above) to the module extension folder (also provided above)\r\n3. Change `Content goes here...` to anything else, like `Content goes here... 2`\r\n4. Directus will try to auto reload and crash\r\n\r\n \n\n### Errors Shown\n\n**Stack trace**\r\n```\r\n/directus/node_modules/rollup/dist/shared/rollup.js:158\r\n base = Object.assign(new Error(base.message), base);\r\n ^\r\n\r\nError: 'default' is not exported by extensions/modules/leonardo/index.js, imported by virtual:entry\r\n at error (/directus/node_modules/rollup/dist/shared/rollup.js:158:30)\r\n at Module.error (/directus/node_modules/rollup/dist/shared/rollup.js:12423:16)\r\n at Module.traceVariable (/directus/node_modules/rollup/dist/shared/rollup.js:12808:29)\r\n at ModuleScope.findVariable (/directus/node_modules/rollup/dist/shared/rollup.js:11588:39)\r\n at Identifier.bind (/directus/node_modules/rollup/dist/shared/rollup.js:6468:40)\r\n at ArrayExpression.bind (/directus/node_modules/rollup/dist/shared/rollup.js:5072:31)\r\n at ExportDefaultDeclaration.bind (/directus/node_modules/rollup/dist/shared/rollup.js:5076:23)\r\n at Program.bind (/directus/node_modules/rollup/dist/shared/rollup.js:5072:31)\r\n at Module.bindReferences (/directus/node_modules/rollup/dist/shared/rollup.js:12419:18)\r\n at Graph.sortModules (/directus/node_modules/rollup/dist/shared/rollup.js:23035:20) {\r\n code: 'MISSING_EXPORT',\r\n url: 'https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module',\r\n id: '\\x00virtual:entry',\r\n pos: 7,\r\n loc: { column: 7, file: '\\x00virtual:entry', line: 1 },\r\n frame: \"1: import e0 from './extensions/modules/leonardo/index.js';\\n\" +\r\n ' ^\\n' +\r\n '2: export default [e0];',\r\n watchFiles: [\r\n '\\x00virtual:entry',\r\n '/directus/extensions/modules/leonardo/index.js'\r\n ]\r\n}\r\n```\n\n### What version of Directus are you using?\n\n9.4.3\n\n### What version of Node.js are you using?\n\n16.13.1\n\n### What database are you using?\n\nn.A.\n\n### What browser are you using?\n\nn.A.\n\n### What operating system are you using?\n\ndebian\n\n### How are you deploying Directus?\n\ndocker",[2951],{"name":2932,"color":2933},11095,"Crash on EXTENSIONS_AUTO_RELOAD","2024-02-03T02:06:17Z","https://github.com/directus/directus/issues/11095",0.7139421,{"description":2958,"labels":2959,"number":2960,"owner":2922,"repository":2922,"state":2935,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the Improvement\n\nWhen building an extension, some modules won't be compatible with the rollup build process, and need to be left external to the bundle. It would be nice if the `external` option in rollup were exposed through the extension config.\r\n\r\nThis is related to issues: https://github.com/directus/directus/issues/22939 and https://github.com/directus/directus/issues/22402\r\n\r\nAnd PRs: https://github.com/directus/directus/pull/22940 and https://github.com/directus/directus/pull/22940",[],24255,"Add external option when building extensions","2025-02-17T02:47:01Z","https://github.com/directus/directus/issues/24255",0.71745276,{"description":2966,"labels":2967,"number":2968,"owner":2922,"repository":2922,"state":2935,"title":2969,"updated_at":2970,"url":2971,"score":2972},"### Describe the Bug\n\nIn /var/www the run of `npm init directus-project myproject` shows\r\n```\r\nnpm init directus-project myproject\r\n✖ Installing Directus\r\nnpm WARN ERESOLVE overriding peer dependency\r\nnpm WARN While resolving: rollup-plugin-styles@4.0.0\r\nnpm WARN Found: rollup@3.29.4\r\nnpm WARN node_modules/@directus/extensions-sdk/node_modules/rollup\r\nnpm WARN rollup@\"3.29.4\" from @directus/extensions-sdk@10.3.0\r\nnpm WARN node_modules/@directus/extensions-sdk\r\nnpm WARN @directus/extensions-sdk@\"10.3.0\" from @directus/api@15.0.0\r\nnpm WARN node_modules/@directus/api\r\nnpm WARN 1 more (rollup-plugin-esbuild)\r\nnpm WARN\r\nnpm WARN Could not resolve dependency:\r\nnpm WARN peer rollup@\"^2.63.0\" from rollup-plugin-styles@4.0.0\r\nnpm WARN node_modules/@directus/extensions-sdk/node_modules/rollup-plugin-styles\r\nnpm WARN rollup-plugin-styles@\"4.0.0\" from @directus/extensions-sdk@10.3.0\r\nnpm WARN node_modules/@directus/extensions-sdk\r\nnpm WARN\r\nnpm WARN Conflicting peer dependency: rollup@2.79.1\r\nnpm WARN node_modules/rollup\r\nnpm WARN peer rollup@\"^2.63.0\" from rollup-plugin-styles@4.0.0\r\nnpm WARN node_modules/@directus/extensions-sdk/node_modules/rollup-plugin-styles\r\nnpm WARN rollup-plugin-styles@\"4.0.0\" from @directus/extensions-sdk@10.3.0\r\nnpm WARN node_modules/@directus/extensions-sdk\r\nnpm WARN deprecated @types/cssnano@5.1.0: This is a stub types definition. cssnano provides its own type definitions, so you do not need this installed.\r\nnpm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs\r\nnpm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility\r\nnpm WARN deprecated har-validator@5.1.5: this library is no longer supported\r\nnpm WARN deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog\r\nnpm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\r\nnpm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142\r\nnpm WARN deprecated json2csv@5.0.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\r\nnpm ERR! code 1\r\nnpm ERR! path /var/www\r\nnpm ERR! command failed\r\nnpm ERR! command sh -c create-directus-project myproject\r\n\r\n```\n\n### To Reproduce\n\nOn\r\n```\r\nDistributor ID: Debian\r\nDescription: Debian GNU/Linux 11 (bullseye)\r\nRelease: 11\r\nCodename: bullseye\r\n```\r\n```\r\nnode -v\r\nv18.19.0\r\n```\r\n```\r\nnpm -v\r\n9.8.1\r\n```\r\nrun `npm init directus-project myproject`\n\n### Directus Version\n\nv10.8.3\n\n### Hosting Strategy\n\nSelf-Hosted (Custom)",[],21103,"Self-Hosted installation of v10.8.3 ends in error","2024-03-17T02:32:55Z","https://github.com/directus/directus/issues/21103",0.72225577,{"description":2974,"labels":2975,"number":2976,"owner":2922,"repository":2922,"state":2935,"title":2977,"updated_at":2978,"url":2979,"score":2980},"### Describe the Bug\n\nWhen creating a custom hook inside my extension bundle, building the extension and also starting directus fails with the following error:\n\n```\n⠸ Building Directus extension...\"@unhead/vue\" is imported by \"../../../../node_modules/@directus/themes/dist/index.js\", but could not be resolved – treating it as an external dependency.\n⠴ Building Directus extension...\"pinia\" is imported by \"../../../../node_modules/@directus/themes/dist/index.js\", but could not be resolved – treating it as an external dependency.\n✖ Failed\ndirectus-extension-my-secret-project:dev: [RollupError] \"traverse\" is not exported by \"../../../../node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js\", imported by \"../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js\".\n\tdirectus-extension-my-secret-project:dev:\n\tdirectus-extension-my-secret-project:dev: https://rollupjs.org/troubleshooting/#error-name-is-not-exported-by-module\n\tdirectus-extension-my-secret-project:dev: /Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:6:53\ndirectus-extension-my-secret-project:dev: 4: * @license MIT\ndirectus-extension-my-secret-project:dev: 5: **/\ndirectus-extension-my-secret-project:dev: 6: import { pauseTracking, resetTracking, isRef, toRaw, traverse, shallowRef, readonly, isReactive, ref, isShallow, shal...\ndirectus-extension-my-secret-project:dev: ^\ndirectus-extension-my-secret-project:dev: 7: export { EffectScope, ReactiveEffect, TrackOpTypes, TriggerOpTypes, customRef, effect, effectScope, getCurrentScope, ...\ndirectus-extension-my-secret-project:dev: 8: import { isString, isFunction, isPromise, isArray, EMPTY_OBJ, NOOP, getGlobalThis, extend, isBuiltInDirective, hasOwn...\ndirectus-extension-my-secret-project:dev: RollupError: \"traverse\" is not exported by \"../../../../node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js\", imported by \"../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js\".\n\tdirectus-extension-my-secret-project:dev: at error (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)\ndirectus-extension-my-secret-project:dev: at Module.error (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:13745:16)\ndirectus-extension-my-secret-project:dev: at Module.traceVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:14175:29)\ndirectus-extension-my-secret-project:dev: at ModuleScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:12615:39)\ndirectus-extension-my-secret-project:dev: at FunctionScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:7124:38)\ndirectus-extension-my-secret-project:dev: at ChildScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:7124:38)\ndirectus-extension-my-secret-project:dev: at BlockScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:7124:38)\ndirectus-extension-my-secret-project:dev: at BlockScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:7124:38)\ndirectus-extension-my-secret-project:dev: at TrackingScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:7124:38)\ndirectus-extension-my-secret-project:dev: at BlockScope.findVariable (file:///Volumes/WD_BLACK/PROJECTS/my-secret-project/node_modules/rollup/dist/es/shared/node-entry.js:7124:38)\n```\n\n### To Reproduce\n\n- setup directus\n- create an extension bundle\n- create a hook inside the extension using `npm run add`\n- running `npm run dev` or `npm run build`\n\n### Directus Version\n\n11.4.1\n\n### Hosting Strategy\n\nSelf-Hosted (Custom)\n\n### Database\n\npostgis/postgis:13-master",[],24602,"Hook Extension in Bundle results in RollupError: \"traverse\" is not exported","2025-02-13T16:04:45Z","https://github.com/directus/directus/issues/24602",0.7239887,{"description":2982,"labels":2983,"number":2991,"owner":2922,"repository":2922,"state":2935,"title":2992,"updated_at":2993,"url":2994,"score":2995},"### Describe the Bug\r\n\r\nHi \r\nAs mentioned in the title, after upgrading Directus from 9.26.0 to 10.13.1, the WYSIWYG toolbar with more than 1 line items (like 28 or 36 items) is hidden and sticky by default.\r\n\r\n\r\n\r\n\r\nThere is no customized style as shown.\r\n\r\n\r\n\r\nThis issue was not found in Directus 9.26.0. Other WYSIWYG toolbar with only 1 line items working fine without this issue.\r\n\r\n### To Reproduce\r\n\r\n- In Directus 9.26.0, create a collection with a text type field.\r\n- Set interface to be WYSIWYG with more than 1 line of toolbar items (like 28 or 36 items)\r\n- Upgrade to 10.13.1\r\n- Check the WYSIWYG editor\r\n\r\n### Directus Version\r\n\r\nv10.13.1\r\n\r\n### Hosting Strategy\r\n\r\nSelf-Hosted (Docker Image)\r\n\r\n### Database\r\n\r\n_No response_",[2984,2985,2988],{"name":2932,"color":2933},{"name":2986,"color":2987},"Studio","bec2c8",{"name":2989,"color":2990},"Content Workflow","C5DEF5",23105,"After upgrading from 9.26.0 to 10.13.1, WYSIWYG toolbar more than 1 line is hidden by default","2025-04-02T14:40:59Z","https://github.com/directus/directus/issues/23105",0.7251873,{"description":2997,"labels":2998,"number":2999,"owner":2922,"repository":2922,"state":2935,"title":3000,"updated_at":3001,"url":3002,"score":3003},"### Describe the Bug\n\nWhen building a Directus hook extension that uses the `ssh2` npm package as a dependency, the build process fails with a RollupError indicating it cannot resolve native node modules (`cpufeatures.node`). This appears to be related to how the Directus extension build system handles native dependencies through Rollup.\n\nThe error occurs during the `directus-extension build` process:\n\n```\n[RollupError] Could not resolve \"../build/Release/cpufeatures.node\" from \"../build/Release/cpufeatures.node?commonjs-external\"\n```\n\nThis prevents the extension from being built and deployed, making it impossible to use SSH-based functionality in Directus hooks.\n\n### To Reproduce\n\n1. Create a new hook extension using `@directus/extensions-sdk`\n2. Add `ssh2` as a dependency in `package.json`:\n ```json\n {\n \"dependencies\": {\n \"ssh2\": \"^1.16.0\"\n }\n }\n ```\n3. Import and use ssh2 in your hook code:\n ```typescript\n import { Client } from 'ssh2';\n ```\n4. Run `directus-extension build`\n5. The build fails with the cpufeatures.node resolution error\n\n## Expected Behavior\n\nThe extension should build successfully, properly bundling or externalizing native dependencies like those used by the ssh2 package.\n\n### Directus Version\n\nv11.8.0\n\n### Hosting Strategy\n\nSelf-Hosted (Docker Image)\n\n### Database\n\n_No response_",[],25278,"Extension build fails with \"Could not resolve cpufeatures.node\" when using ssh2 dependency in hook extension","2025-06-05T14:39:22Z","https://github.com/directus/directus/issues/25278",0.7296753,{"description":3005,"labels":3006,"number":3007,"owner":2922,"repository":2922,"state":2935,"title":3008,"updated_at":3009,"url":3010,"score":3011},"### Describe the Bug\n\nToday I tried installing the current version of directus via cli (11.4.1). But sadly I ran into an issue that I probably can't fix myself.\n\nThere seems to be an error in /node_modules/node-gyp/gyp/gyp_main.py\n\np646052:/home/www/p646052/html > npm init directus-project d11\n\n> npx\n> cdp d11\n\n× Installing Directus\n! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing npm@10.8.2+sha512.c7f0088c520a46596b85c6f8f1da943400199748a0f7ea8cb8df75469668dc26f6fb3ba26df87e2884a5ebe91557292d0f3db7d0929cdb4f14910c3032ac81fb.\n! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager\n\nnpm warn ERESOLVE overriding peer dependency\nnpm warn While resolving: rollup-plugin-styles@4.0.0\nnpm warn Found: rollup@3.29.4\nnpm warn node_modules/@directus/extensions-sdk/node_modules/rollup\nnpm warn rollup@\"3.29.4\" from @directus/extensions-sdk@12.1.4\nnpm warn node_modules/@directus/extensions-sdk\nnpm warn @directus/extensions-sdk@\"12.1.4\" from @directus/api@23.3.2\nnpm warn node_modules/@directus/api\nnpm warn 1 more (rollup-plugin-esbuild)\nnpm warn\nnpm warn Could not resolve dependency:\nnpm warn peer rollup@\"^2.63.0\" from rollup-plugin-styles@4.0.0\nnpm warn node_modules/@directus/extensions-sdk/node_modules/rollup-plugin-styles\nnpm warn rollup-plugin-styles@\"4.0.0\" from @directus/extensions-sdk@12.1.4\nnpm warn node_modules/@directus/extensions-sdk\nnpm warn\nnpm warn Conflicting peer dependency: rollup@2.79.2\nnpm warn node_modules/rollup\nnpm warn peer rollup@\"^2.63.0\" from rollup-plugin-styles@4.0.0\nnpm warn node_modules/@directus/extensions-sdk/node_modules/rollup-plugin-styles\nnpm warn rollup-plugin-styles@\"4.0.0\" from @directus/extensions-sdk@12.1.4\nnpm warn node_modules/@directus/extensions-sdk\nnpm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs\nnpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\nnpm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility\nnpm warn deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.\nnpm warn deprecated npmlog@6.0.2: This package is no longer supported.\nnpm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported\nnpm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.\nnpm warn deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog\nnpm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported\nnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported\nnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported\nnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported\nnpm warn deprecated gauge@4.0.4: This package is no longer supported.\nnpm warn deprecated json2csv@5.0.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\nnpm warn deprecated ldapjs@2.3.3: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md\nprebuild-install warn install /usr/local/node/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /html/d11/node_modules/isolated-vm/out/isolated_vm.node)\ngyp info it worked if it ends with ok\ngyp info using node-gyp@8.4.1\ngyp info using node@18.20.4 | linux | x64\ngyp info find Python using Python version 3.13.1 found at \"/usr/local/python/bin/python.bin\"\ngyp info spawn /usr/local/python/bin/python.bin\ngyp info spawn args [\ngyp info spawn args '/html/d11/node_modules/node-gyp/gyp/gyp_main.py',\ngyp info spawn args 'binding.gyp',\ngyp info spawn args '-f',\ngyp info spawn args 'make',\ngyp info spawn args '-I',\ngyp info spawn args '/html/d11/node_modules/isolated-vm/build/config.gypi',\ngyp info spawn args '-I',\ngyp info spawn args '/html/d11/node_modules/node-gyp/addon.gypi',\ngyp info spawn args '-I',\ngyp info spawn args '/files/.mwsoftware/node/.cache/node-gyp/18.20.4/include/node/common.gypi',\ngyp info spawn args '-Dlibrary=shared_library',\ngyp info spawn args '-Dvisibility=default',\ngyp info spawn args '-Dnode_root_dir=/files/.mwsoftware/node/.cache/node-gyp/18.20.4',\ngyp info spawn args '-Dnode_gyp_dir=/html/d11/node_modules/node-gyp',\ngyp info spawn args '-Dnode_lib_file=/files/.mwsoftware/node/.cache/node-gyp/18.20.4/\u003C(target_arch)/node.lib',\ngyp info spawn args '-Dmodule_root_dir=/html/d11/node_modules/isolated-vm',\ngyp info spawn args '-Dnode_engine=v8',\ngyp info spawn args '--depth=.',\ngyp info spawn args '--no-parallel',\ngyp info spawn args '--generator-output',\ngyp info spawn args 'build',\ngyp info spawn args '-Goutput_dir=.'\ngyp info spawn args ]\nTraceback (most recent call last):\n File \"/html/d11/node_modules/node-gyp/gyp/gyp_main.py\", line 42, in \u003Cmodule>\n import gyp # noqa: E402\n ^^^^^^^^^^\n File \"/html/d11/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 9, in \u003Cmodule>\n import gyp.input\n File \"/html/d11/node_modules/node-gyp/gyp/pylib/gyp/input.py\", line 19, in \u003Cmodule>\n from distutils.version import StrictVersion\nModuleNotFoundError: No module named 'distutils'\ngyp ERR! configure error \ngyp ERR! stack Error: `gyp` failed with exit code: 1\ngyp ERR! stack at ChildProcess.onCpExit (/html/d11/node_modules/node-gyp/lib/configure.js:259:16)\ngyp ERR! stack at ChildProcess.emit (node:events:517:28)\ngyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)\ngyp ERR! System Linux 5.4.0-200-generic\ngyp ERR! command \"/usr/local/node/usr/bin/node\" \"/html/d11/node_modules/.bin/node-gyp\" \"rebuild\" \"--release\" \"-j\" \"max\"\ngyp ERR! cwd /html/d11/node_modules/isolated-vm\ngyp ERR! node -v v18.20.4\ngyp ERR! node-gyp -v v8.4.1\ngyp ERR! not ok \nnpm error code 1\nnpm error path /html/d11/node_modules/isolated-vm\nnpm error command failed\nnpm error command sh -c prebuild-install || (node-gyp rebuild --release -j max && node-gyp clean)\nnpm error A complete log of this run can be found in: /files/.mwsoftware/node/.cache/_logs/2025-02-11T01_30_17_423Z-debug-0.log\nnpm error code 1\nnpm error path /html\nnpm error command failed\nnpm error command sh -c cdp d11\nnpm notice\nnpm notice New major version of npm available! 10.8.2 -> 11.1.0\nnpm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0\nnpm notice To update run: npm install -g npm@11.1.0\nnpm notice\nnpm error A complete log of this run can be found in: /files/.mwsoftware/node/.cache/_logs/2025-02-11T01_30_15_718Z-debug-0.log\n\n### To Reproduce\n\nI tried installing directus via CLI \n\n`npm init directus-project d11`\n\nInstalled requirements:\nnodeJS 18.20.4\npython 3.13.1+2\n\n### Directus Version\n\nv11.4.1\n\n### Hosting Strategy\n\nSelf-Hosted (Custom)\n\n### Database\n\nDoesn't matter yet :)",[],24583,"Self hosted install issue on 11.4.1","2025-02-13T16:35:17Z","https://github.com/directus/directus/issues/24583",0.73515385,["Reactive",3013],{},["Set"],["ShallowReactive",3016],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f-jf9HWitcUUMzYmtxt8FvxRqJq3Av2k_YjY5aLeM_Mc":-1},"/directus/directus/25200"]