npm ERR! code ELIFECYCLE in using NPM RUN SERVE in running PWA Vue.JS 3 Template App on Mac

Version
3.0.3
Node and OS info
Node: v8.12.0, NPM: 6.4.1
Steps to reproduce
I'm having an error while running the newly created pwa template from Vue.JS 3.
The command that I'm using is npm run serve
What is expected?
I'm expecting to run my pwa template.
What is actually happening?
Having error that says
The error says,
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR<EMAIL_ADDRESS>serve: vue-cli-service serve
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /var/root/.npm/_logs/2018-09-25T07_17_36_807Z-debug.log

Here's the full log from 2018-09-25T07_17_36_807Z-debug.log file
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'serve' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/myuser/Documents/AppFolder$
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /Users/myser/Documents/AppFolder/mywebapp
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'vue-cli-service serve' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 126  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec serve script
13 verbose stack Error<EMAIL_ADDRESS>serve: vue-cli-service serve
13 verbose stack Exit status 126
13 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:915:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /Users/myuser/Documents/AppFolder/mywebapp
16 verbose Darwin 17.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "serve"
18 verbose node v8.12.0
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 126
22 error<EMAIL_ADDRESS>serve: vue-cli-service serve
22 error Exit status 126
23 error Failed at the<EMAIL_ADDRESS>serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 126, true ]

created pwa template from Vue.JS 3.

I assume that means you chose to install the PWA plugin during project creation? What other options did you choose?
You don't provide any details that would allow us to reproduce your scenario.

I am running into similar problems. I can run the build script, but the serve script is malfunctioning.
I created a test project using the default presets, and runs npm run serve immediately after creating the project.
Log here:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'serve' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/michael/projects/test/node_modules/.bin:/home/michael/miniconda3/bin:/home/michael/dotfiles/scripts:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/michael/projects/test
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'vue-cli-service serve' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec serve script
13 verbose stack Error<EMAIL_ADDRESS>serve: `vue-cli-service serve`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:182:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:182:13)
13 verbose stack     at maybeClose (internal/child_process.js:962:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /home/michael/projects/test
16 verbose Linux 4.14.71-1-MANJARO
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
18 verbose node v10.10.0
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>serve: `vue-cli-service serve`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

It seems that EventEmitter is running into some issues. This is probably caused by some upstream changes, since I was able to run the script fine a week or so earlier, and I probably updated something in the mean time.

Yes, @LinusBorg I included the pwa template during the project creation.

So, the problem mysteriously solves itself for me. @deanilvincent Try running npm run serve again. It's probably an upstream issue that is solved now.

Maybe a permission issue. Try sudo?

Same problem here. I saw the issue is an error ENOSPC. Searching on stackoverflow I found this
https://stackoverflow.com/questions/22475849/node-js-error-enospc
that seems to fix the problem.

Closing due to inactivity for more than 1 week. Please open a new issue with a reference to this one if you can follow up with more information.

npm install<EMAIL_ADDRESS>

rm -rf node_modules/
npm install

Same issue here.

I was a same problem , I wait a little time and without do anything, after that, and sorprise, it working, but i don know the reason :''c

same issue here.
anybody solve this problem?

I'm having the same issue
Project 'build' could not be found in workspace.
Error: Project 'build' could not be found in workspace.
at Workspace.getProject (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/@angular/cli/node_modules/@angular-devkit/core/src/workspace/workspace.js:93:19)
at Architect.getBuilderConfiguration (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/@angular/cli/node_modules/@angular-devkit/architect/src/architect-legacy.js:117:41)
at DevServerBuilder._getBrowserOptions (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/@angular-devkit/build-angular/src/dev-server/index.js:316:41)
at MergeMapSubscriber.check_port_1.checkPort.pipe.operators_1.concatMap [as project] (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/@angular-devkit/build-angular/src/dev-server/index.js:35:153)
at MergeMapSubscriber._tryNext (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
at MergeMapSubscriber._next (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
at MergeMapSubscriber.Subscriber.next (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/rxjs/internal/Subscriber.js:67:18)
at TapSubscriber._next (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/rxjs/internal/operators/tap.js:65:26)
at TapSubscriber.Subscriber.next (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/rxjs/internal/Subscriber.js:67:18)
at portfinder.getPort (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/@angular-devkit/build-angular/src/angular-cli-files/utilities/check-port.js:26:21)
at /Users/bts/Documents/Projects/collabclassadmin-web/node_modules/portfinder/lib/portfinder.js:190:16
at /Users/bts/Documents/Projects/collabclassadmin-web/node_modules/async/lib/async.js:52:16
at /Users/bts/Documents/Projects/collabclassadmin-web/node_modules/async/lib/async.js:269:32
at /Users/bts/Documents/Projects/collabclassadmin-web/node_modules/async/lib/async.js:44:16
at /Users/bts/Documents/Projects/collabclassadmin-web/node_modules/portfinder/lib/portfinder.js:151:16
at Server.onListen (/Users/bts/Documents/Projects/collabclassadmin-web/node_modules/portfinder/lib/portfinder.js:43:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: ng serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/bts/.npm/_logs/2019-04-23T15_41_06_435Z-debug.log

Same issue here! :|

Same issue.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'serve' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/<path_to_project>/<project_name>/node_modules/.bin:/home/vagrant/.composer/vendor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /<path_to_project>/<project_name>
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'vue-cli-service serve' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec serve script
13 verbose stack Error<EMAIL_ADDRESS>serve: `vue-cli-service serve`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:189:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:189:13)
13 verbose stack     at maybeClose (internal/child_process.js:970:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /<path_to_project>/<project_name>
16 verbose Linux 4.15.0-47-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
18 verbose node v10.15.3
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>serve: `vue-cli-service serve`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Can anyone fixed it? I'm also see same problem?
0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev' ] 2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predev', 'dev', 'postdev' ] 5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true 8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/mac/Documents/code/admin_navihome/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands 9 verbose lifecycle<EMAIL_ADDRESS>CWD: /Users/mac/Documents/code/admin_navihome 10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 10 silly lifecycle   'webpack-dev-server --inline --progress --config build/webpack.dev.conf.js' ] 11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null 12 info lifecycle<EMAIL_ADDRESS>Failed to exec dev script 13 verbose stack Error<EMAIL_ADDRESS>dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js13 verbose stack Exit status 1 13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16) 13 verbose stack     at EventEmitter.emit (events.js:189:13) 13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack     at ChildProcess.emit (events.js:189:13) 13 verbose stack     at maybeClose (internal/child_process.js:970:16) 13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /Users/mac/Documents/code/admin_navihome 16 verbose Darwin 18.5.0 17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev" 18 verbose node v10.15.3 19 verbose npm  v6.9.0 20 error code ELIFECYCLE 21 error errno 1 22 error<EMAIL_ADDRESS>dev:webpack-dev-server --inline --progress --config build/webpack.dev.conf.js22 error Exit status 1 23 error Failed at the<EMAIL_ADDRESS>dev script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Administrator\desktop\websoftic\node_modules.bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Administrator\bin;C:\orant\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk1.8.0_161\bin;C:\orant\jdk\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Program Files\Java\jdk1.8.0_161;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm
9 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\Users\Administrator\desktop\websoftic
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'react-scripts start' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: react-scripts start
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:189:13)
13 verbose stack     at ChildProcess. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:189:13)
13 verbose stack     at maybeClose (internal/child_process.js:970:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd C:\Users\Administrator\desktop\websoftic
16 verbose Windows_NT 6.3.9600
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v10.15.3
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>start: react-scripts start
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
if have this type of error ....any help !

fix it in package.json file. it's problem with webpack version, delete character ^ before version.
It's working for me. Hope help.

Same issue. Still not fix it.

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'serve' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;E:\zcsys\manage\node_modules.bin;C:\Users\Administrator\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Administrator\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Git\cmd;C:\wamp64\bin\php\php7.2.14;C:\ProgramData\ComposerSetup\bin;C:\Program Files\PuTTY;C:\Program Files\dotnet;C:\Program Files (x86)\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files\nodejs;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Local\Programs\Fiddler;C:\wamp64\bin\mysql\mysql5.7.24\bin;C:\Users\Administrator\AppData\Roaming\npm;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
9 verbose lifecycle<EMAIL_ADDRESS>CWD: E:\zcsys\manage
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'vue-cli-service serve' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec serve script
13 verbose stack Error<EMAIL_ADDRESS>serve: vue-cli-service serve
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:198:13)
13 verbose stack     at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd E:\zcsys\manage
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "serve"
18 verbose node v10.16.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>serve: vue-cli-service serve
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

I had same problems, same log file, I resolved it in 2 steps:
1.deleting "node_modules" directory in project
2.npm install
after that npm start was working like charm :)
I hope this will resolve your issues as well

rm -rf node_modules/
npm install

It works! If anyone is using Yarn, the error persists if you reinstall the package using Yarn. After installing the packages using npm, it worked! Thank you!

npm update worked for me.  not sure which dependency was causing it but everything is fine now.

What fixed it for me:
I ran npm update as suggested by @bryanSME. It seems I had a different issue. This time when I ran npm start, I saw that there was an ENOSPC error (it may have been there before and I might have not noticed it). I see that @ardf69 also mentions this error.
Searching for ENOSPC took me to this thread. Using the first command in the selected answer (I am not using Arch Linux so I ignored the second and third command) fixed it for me.

Still no answer to this, I'm having the same problem...

I ran into the exact same problem all of a sudden.
Yesterday everything was fine, this morning, without doing anything. Poof.... :-s
npm ci
remove node_modules and npm install
updated npm and node
Untill I updated NPM to the latest version and node to the latest version
Logged out of the system, logged in again and solved..

ok, I just forgot create config file that was ignored in .gitignore (.\src\configs\config.js) and also got the same error.
mb helpful somebody

I removed the node_modules
run the "npm install"
And now it works.

I found that my hosts file was lost, but my npm run dev was not localhost but relocated in hosts, then I created a new hosts, and it was fine after that.

it fix me  https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers

So, after spending ridiculous amount of time trying to solve the issue (generally all the steps that I've found were involving reinstalling dependencies in one way or another) I've found the answer.
It turns out that the latest node.js issue has some issues with Windows and the only way to fix this for me was to download previous version. I've downloaded it from:
https://nodejs.org/en/download/releases/
the version that fixed it for me was Node.js 10.x
Quick and painless (almost)
I hope that this will help someone who will be stuck with a similar issue...
https://stackoverflow.com/questions/58648120/npm-err-code-elifecycle-starting-issue

In my case I solved it with more RAM

i also solved it with relase more memnory space, thank you @marcell93

On a different note, I was trying to implement the server-renderer, but I forgot to install it with NPM. I have no idea why Node didn't tell me that a missing dependency was the problem, and why it gave that ridiculous error, but I literally solved it by running npm install --save @vue/server-renderer. Really dumb, I know, but check if your dependencies are correctly installed.

On a different note, I was trying to implement the server-renderer, but I forgot to install it with NPM. I have no idea why Node didn't tell me that a missing dependency was the problem, and why it gave that ridiculous error, but I literally solved it by running npm install --save @vue/server-renderer. Really dumb, I know, but check if your dependencies are correctly installed.

I solved this problem deleted all dependencies from package.json & package-lock.json. Then run npm install.

What helped in my case was the following:
npm cache clean --force
rm -rf node_modules/
npm install

`$ npm run test

<EMAIL_ADDRESS>test C:\Users\Administrator\Desktop\project\blinds_pos_admin
vue-cli-service build --mode test

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
/  Building for test...
ERROR  Failed to compile with 3 errors
error  in ./src/views/goods/price-set-f/index.vue?vue&type=script&lang=js&
Module parse failed: Unexpected token (1306:51)
File was processed with these loaders:

./node_modules/cache-loader/dist/cjs.js
./node_modules/babel-loader/lib/index.js
./node_modules/cache-loader/dist/cjs.js
./node_modules/vue-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|         let store_name = ""; //门店name
|

    data.commodity_module.selection.store_data?.forEach(item => {

|           if (item.id === data.commodity_module.selection.store_value) {
|             store_name_or_id = item.id + "-" + item.name;
@ ./src/views/goods/price-set-f/index.vue?vue&type=script&lang=js& 1:0-298 1:314-317 1:319-614 1:319-614
@ ./src/views/goods/price-set-f/index.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi ./src/main.js
error  in ./src/views/finance/SoDepositList/index.vue?vue&type=script&lang=js&
Module parse failed: Unexpected token (234:47)
File was processed with these loaders:

./node_modules/cache-loader/dist/cjs.js
./node_modules/babel-loader/lib/index.js
./node_modules/cache-loader/dist/cjs.js
./node_modules/vue-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|     //获取SO定金清单数据列表
|     async getSoDepositList() {

  let storeIds = this.selectedStoreIdArray?.filter(item => item != "全选");

|       let params = {
|         fromDate: this.form.fromDate,
@ ./src/views/finance/SoDepositList/index.vue?vue&type=script&lang=js& 1:0-298 1:314-317 1:319-614 1:319-614
@ ./src/views/finance/SoDepositList/index.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi ./src/main.js
error  in ./src/views/goods/price-set-list-f/index.vue?vue&type=script&lang=js&
Module parse failed: Unexpected token (871:51)
File was processed with these loaders:

./node_modules/cache-loader/dist/cjs.js
./node_modules/babel-loader/lib/index.js
./node_modules/cache-loader/dist/cjs.js
./node_modules/vue-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|       storeEndPickerOptions: {
|         disabledDate(time) {

      let date = new Date(data.storeDialogData?.startStr).getTime();

|           return time.getTime() < date - 86400000;
|         }
@ ./src/views/goods/price-set-list-f/index.vue?vue&type=script&lang=js& 1:0-298 1:314-317 1:319-614 1:319-614
@ ./src/views/goods/price-set-list-f/index.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi ./src/main.js
ERROR  Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test: vue-cli-service build --mode test
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-11-29T10_25_43_701Z-debug.log`

You may need to install latest version of react-scripts:
npm i react-scripts@latest

Ciao a tutti, spero in un vostra illuminazione. Anche a me viene fuori un errore simile quando faccio la build, ma solo lato client. Ho già provato a eliminare i node_modules e package-lock.json per poi fare npm install ma non ho risolto nulla. Avete qualche altro consiglio?
Premetto che fino a una settimana fa non mi dava nessun problema e l'unico pacchetto installato nel mentre, è stato html2pdf...  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>buildDemo script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/niccolovaccina/.npm/_logs/2023-10-20T07_35_05_029Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/niccolovaccina/.nvm/versions/node/v14.18.1/bin/node',
1 verbose cli '/home/niccolovaccina/.nvm/versions/node/v14.18.1/bin/npm',
1 verbose cli 'run',
1 verbose cli 'buildDemo'
1 verbose cli ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuildDemo', 'buildDemo', 'postbuildDemo' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /home/niccolovaccina/.nvm/versions/node/v14.18.1/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/niccolovaccina/Projects/projects/project/node_modules/.bin:/home/niccolovaccina/.nvm/versions/node/v14.18.1/bin:/home/niccolovaccina/.local/bin:/home/niccolovaccina/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/niccolovaccina/Projects/projects/project
10 silly lifecycle<EMAIL_ADDRESS>Args: [
10 silly lifecycle '-c',
10 silly lifecycle 'concurrently "cd ./client && npm run buildDemo --production" "cd ./server && npm run buildDemo --production" '
10 silly lifecycle ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1 signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec buildDemo script
13 verbose stack Error<EMAIL_ADDRESS>buildDemo: concurrently "cd ./client && npm run buildDemo --production" "cd ./server && npm run buildDemo --production"
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/home/niccolovaccina/.nvm/versions/node/v14.18.1/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess. (/home/niccolovaccina/.nvm/versions/node/v14.18.1/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1058:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /home/niccolovaccina/Projects/projects/project
16 verbose Linux 6.4.13-200.fc38.x86_64
17 verbose argv "/home/niccolovaccina/.nvm/versions/node/v14.18.1/bin/node" "/home/niccolovaccina/.nvm/versions/node/v14.18.1/bin/npm" "run" "buildDemo"
18 verbose node v14.18.1
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>buildDemo: concurrently "cd ./client && npm run buildDemo --production" "cd ./server && npm run buildDemo --production"
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>buildDemo script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]


can't play mp4 in webkit browsers, but perfectly work in firefox

I don't know why

http://diveintohtml5.info/video.html#miro

thx. but I convert my original mp4 to the new mp4 with miro and still not working

thx, but i convert my original mp4 the new mp4 with miro. it still not work

conflict with my fullpage plugin.


Restore logging config

Restores the ability to get verbose logging and the simplified message format.

Pull Request Test Coverage Report for Build 863630679

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 72.764%

Totals

Change from base Build 664499501:
0.1%

Covered Lines:
903

Relevant Lines:
1241

💛  - Coveralls

Handy! Thank you.


Getting "timeout" issue while uploading mission on PixHawk (PX4) via MAVSDK

Hi,
I am using MAVSDK to upload mission from terminal to my PixHawk 4 (PX4) via telemetry.
Sometimes it works like a charm and sometime it give the "timout" error and stops.
Can someone please tell the fix for this issue? I tired to go into the file and updated the timeout value from "none" to "50" but it didn't worked. Same issue, sometimes it work and sometimes not work.
Complete code file is attached here. (due to editor restriction, changed the extension from ".py" to ".txt").
I am using Ubuntu 20.04

mission.txt

Your code looks all fine to me.
I'm suspecting a problem with the connection. Are you using a radio or a direct FTDI cable?
And which PX4 version are you using?
Maybe we could resolve this by just increasing the timeout or making it configurable.

I am using the FTDI Cable to connect the Telemetry with my laptop.
Telemetry: RFD900+
PX4 Version: 1.11
Where we can increase that time and what is the unit (sec/msec) of time to increase?

Ok, and is the upload working when the drone is close, and presumably the connection is good?

The timeout is set in https://github.com/mavlink/MAVSDK/blob/855a4b5d1e7c13a601781792f25dc5fe08ff5ae3/src/core/mavlink_mission_transfer.h#L248 so you would have to rebuild mavsdk_server yourself.

Ok, and is the upload working when the drone is close, and presumably the connection is good?

Drone is at about 3-4 feet from the GCS telemetry. Even then the problem is coming.
Sometime it works with the 200+ mission items, and sometimes it didn't work even with the 5 mission items.
I will try the change in timeout and then let you know the feedback. Thank you.
What is the unit of time we are giving? Is this seconds or something else?

It's seconds there. Are you rebuilding mavsdk_server yourself already?

It's seconds there. Are you rebuilding mavsdk_server yourself already?

Yes, I am on it as you directed, but not doing anything before. But getting problems while building that.
I am using this guide to build that with our timeout changes.

What architecture are you on? I can build a binary and upload that for you.

What architecture are you on? I can build a binary and upload that for you.

That will be great if you can please do this favour.
I am using Ubuntu 20.04 for doing all this.

That's x86-64? That should actually be fairly straightforward to build then, just do:
cmake -Bbuild/default -DBUILD_MAVSDK_SERVER=ON -DSUPERBUILD=ON .
cmake --build build/default -j8

I am using x64.

mavsdk_server.zip
try this

Where I put this file?

mavsdk_server.zip
try this

Where I put this file?

You have to run it with:
./mavsdk_server -p 50051 serial:///dev/ttyUSB0:57600

And then in your script you have to use:
drone = System(mavsdk_server_address="localhost", port=50051)
await drone.connect()

The script and the binary have to run on the same machine.

so give you a bit more debug output

I tried to follow the instructions you gave, and attached are the results. So far no success in running the operation.

Hm, I can see how it looks busy because it's trying to get several parameters, etc. all at startup. Does it work better if you wait a couple of seconds until these things have stabilized before trying to upload a mission?

@MuhammadBilal1 @bb17pugc were you able to resolve this?
I'm planning to add a parameter for overall mavsdk to set the timeout.

@MuhammadBilal1 @bb17pugc were you able to resolve this?
I'm planning to add a parameter for overall mavsdk to set the timeout.

No, I wasn't able to resolve this issue. Adding the parameter will be helpful. Thank you.
I will be waiting :-)

@MuhammadBilal1 see #1362

Hi, I'm getting the same issue while connecting with a USB antenna (serial connection).  When uploading a mission with more than two mission items, it times out almost immediately.  I tried setting the timeout value to "2" or "5" but I get the same result.  I also tried using the MAVSDK-Python project example mission.py and it times out  (however, if I send only one or two mission items, it works).
I also tried connecting to the drone using a wifi hotspot and uploading a mission (using tcp).  Using that setup, the timeout issue does not occur.
MAVSDK-Python: 0.19.0
PX4: 1.11.3
Python: 3.8.10
Drone connection: USB Antenna
    await drone.connect(system_address="serial:///dev/ttyUSB0:57600")
    await drone.core.set_mavlink_timeout(2)

  File "/home/xgl-gs1/xguardlabs-uav-controller/mission_test.py", line 129, in run
    await drone.mission.upload_mission(mission_plan)
  File "/home/xgl-gs1/xguardlabs-uav-controller/venv/lib/python3.8/site-packages/mavsdk/mission.py", line 707, in upload_mission
    raise MissionError(result, "upload_mission()", mission_plan)
mavsdk.mission.MissionError: TIMEOUT: 'Timeout'; origin: upload_mission(); params: (<mavsdk.mission.MissionPlan object at 0x7f2d36405460>,)

There have been some improvements in the latest version of mavsdk (coming with MAVSDK-C++ 0.42.0), and also in PX4. I think it will be worth testing again with those versions when they are out.

Thank you for the suggestion, I will try again when a more recent version of MAVSDK-Python is available.  Correct me if I am wrong, but I think the current MAVSDK-Python 0.19.0 (released july 23) does not contain the changes from MAVSDK-C++ 0.42.0 (released august 6) .  I will also try updating my PX4 version.

If you have troubles uploading missions, you might also want to try this: https://github.com/PX4/PX4-Autopilot/issues/18082

Closing this as there was no more follow up but plenty of fixes in the meantime.


Use the latest rules_python release to fix dependency issues

Several tcmalloc users and users of other tcmalloc dependencies which
depend on rules_python are unable to build projects due to a python
dependency issue manifesting on several popular Linux distributions
(Ubuntu 22.04.1 LTS, Fedora 36, Debian Testing, possibly others).
See:

https://github.com/google/tcmalloc/issues/127
https://github.com/bazelbuild/rules_fuzzing/issues/207

The rules_python-0.11.0 release uses a
hermetic python environment
which resolves the dependency conflict in testing.
This specific release of rules_python needs to be loaded in the
WORKSPACE file before other dependencies which use rules_python
(protobuf), otherwise an older version will be used.
CLOSES=#127

Thanks for the fix


Add support for 'cpanel-koality-plugin' to cpanel-plugins module

yep. we need to get this in quickly. It releases to 110 soon.

already covered by plugins repo support.


Swap interval ignored when DWM is enabled

This certainly isn't a major issue, it might not even be worth correcting just for a test.
The joysticks test fully "utilizes" the cpu on machines I've tested it on. Is it worth enabling vsync or sleeping every frame to prevent this?
I sometimes use this test as a quick way of debugging joystick inputs, it would be nice if it wasn't quite as wasteful :)

That test already has vsync enabled.

So it seems as though this was caused by an issue with vsync on Windows 10. Solved in the dwmflush branch at the moment. Thanks!

I'm stealing this for the bugfix. I hope that's all right.

no problem.


Replace toy task with fashion MNIST

Currently the toy task is to sum numbers. While it runs fast, it is not ideal for visualizing results, testing confusion matrices, displaying images, etc.
We are now replacing this with a more "visual" task, e.g. fashionMNIST

Closed because of bad authorship on this branch. See #77 instead.


Duplicate entry '1' for key 'PRIMARY'  bug during repeated nested card execution

This type of error is reasonably common:
Unexpected error: Error while processing SQL request (Localhost via UNIX socket): INSERT INTO nested_card_execution (nesting_index, card_id, executing_as_if_on_card_id, replace_may_with_must, launcher_id, current_effect_type, current_effect_number, step, step_max) VALUES (1, 594, 594, FALSE, 2356652, 1, 1, -1, -1) Duplicate entry '1' for key 'PRIMARY' (reference: GS1 18/08 04:03:40)

Robocar is a good card to replicate it. It seems to happen when trying to self/fully execute a second card from the same source card.

I see this happening in a lot of games. But it seems like a tough bug to fix!

This fixes https://boardgamearena.com/bug?id=96691.

This also fixes https://boardgamearena.com/bug?id=94731.

Found a card-specific bug in Robocar and fixed it.


Update zh_cn.json

Translated the updates and Modified some translations to make them more in line with Chinese language habits.
Change the translation of Insulation from "保暖" to "保温".

Thank you! I'll update this soon. Greatly appreciated.


Update resources for oauth-proxy container

This PR updates the resource limit to oauth-proxy container in dashboard deployment.
This is required to allow large number of concurrent requests during scale testing.

@andrewballantyne @LaVLaS Can you review this? Based on the discussions from today's meeting, updating resources to reduce delays when a large number of Notebooks are created.


Added comments to the tricky algorithms.

Added invariants for bn_multiply and bn_inverse.
Explain that bn_multiply and bn_fast_mod don't work for an arbitrary modulus.  The modulus must be close to 2^256.
This is a comment-only patch.  There are some not so nice things I would like to change, but I don't want to introduce new bugs.

The last bn_fast_mod call in bn_inverse is completely useless.
In most cases bn_inverse returns a number < prime, but not in the case prime=prime256k1, where it may be < 2 * prime (should bn_fast_mod be replaced by bn_mod?). No current caller relies on this.
bn_substract is a typo, should be bn_subtract.
The function bn_substract has very weird properties, especially the 2u * prime thing is strange (should it work with second argument < 2 * prime?  Also despite the comment it may return a number between 0 and 3 * prime.  And the fact that prime256k1 is hard coded is bad.  The hard-coded subtractions in ecdsa.c have similar problems.
bn_substract should be called bn_subtractmod and bn_substract_noprime should be called bn_subtract.

Thanks!


Nextjs refactor: Reduce delay for 'More Details' click through

[ ] On Mobile or desktop, the delay after clicking More Details to get to the Location details page was significant enough to make me think it was broken and tap again a couple of times. I was connected to my wifi but it was the same for 5G.

https://github.com/user-attachments/assets/4a0b7361-f417-4296-bac5-d97ca2293c01

This is acknowledged. Will investigate.

This should be improved by https://github.com/streetlives/yourpeer.nyc-nextjs/pull/19
We are at about 1.5s page load time. I'm going to continue optimizing it until it's < 1s, but this will come later.

It's improved. I understand further improvement is possible. Seems ready to deploy. Appreciating it's a server thing but lifting up that I haven't tested the deployment on 4G, which may provide other delays if e.g., the image file for the homepage hero is still large.

I don't think that 4G is going to to make a difference, as the delay is not caused by large payload, but by a slow query on the server. But we can revisit this and optimize the query.


5 minutes of work

Device: iPhoneX (D221AP. iPhone10,6)
OS from dualbooting: iOS 15.1
OS for dualbooting: iOS 14.3
Device is working 5 minutes normally and then happens turn of (Turning on with force reboot)

Device: iPhoneX (D221AP. iPhone10,6) OS from dualbooting: iOS 15.1 OS for dualbooting: iOS 14.3
Device is working 5 minutes normally and then happens turn of (Turning on with force reboot)

deepsleep issues, try to install fiona tweak or use the fix deepsleep option on the dualra1n-loader

Device: iPhoneX (D221AP. iPhone10,6) OS from dualbooting: iOS 15.1 OS for dualbooting: iOS 14.3
Device is working 5 minutes normally and then happens turn of (Turning on with force reboot)

deepsleep issues, try to install fiona tweak or use the fix deepsleep option on the dualra1n-loader

But device is turn offs when screen is on

Device: iPhoneX (D221AP. iPhone10,6) OS from dualbooting: iOS 15.1 OS for dualbooting: iOS 14.3
Device is working 5 minutes normally and then happens turn of (Turning on with force reboot)

deepsleep issues, try to install fiona tweak or use the fix deepsleep option on the dualra1n-loader

But device is turn offs when screen is on

so it should be a problem with jailbreak, try to open dualra1n and click in the option named restorerootfs. after that --jailbreak again


README: Suggest mentioning default VM name is "default"

To copy files out of a VM with "vagrant scp" it is necessary to explicitly specify the VM name. However it's not clear what the default VM name is.
After poking around a while I determined the default VM is just called "default". (As opposed to something that "vagrant box list" indicates.)
Suggest extending the README with this information for the hurried dev. :-)
vagrant scp default:~/magic.txt magic.txt

Experienced the very same, I'd also recommend adding this to the README.

The VM name is optional (square brackets). In your example:
vagrant scp  :~/magic.txt magic.txt
works fine.
I'll add a clarification to the README

Done. Thanks for reporting this!


Java operator sdk

Feature Request
As you are probably aware Java is one of the more popular languages. Supporting Java in the Operator-sdk would significantly increase its audience. I certainly would be more interested in using this project as I wouldnt have to learn go.
I'm sure many others would also take warmly to a java option.

I agree on this, supporting Java in the Operator-sdk would significantly increase its audience.

At Instana we created an Operator for our agent based on Quarkus [1] that we intend to refactor into a reusable library after we've productionized the alpha. It includes leveraging CDI injection for getting access to services that Operators need and emits CDI events on important lifecycle events, among other things. I hope this effort would work wit the Quarkus dev community to leverage their support for this as it usually makes more sense in the Java world to leverage a library than to do code generation like is done in the golang SDK.
I would really like to be involved in discussions around what the Java SDK actually is as well, as some see the Go SDK CLI being leveraged to create artifacts in Java while others see pure Maven/Gradle support and libraries as the way to go (no pun intended). It's worth some discussion IMO.
[1] - https://github.com/instana/instana-agent-operator

Thanks for the feature request. If there is any specific things you would like to see being used, best practices etc, in the java operator type please list below. Similar as to how @jbrisbin did it, always good to get information ahead of time!

Hello All,
I think that the features that I think a bare minimum operator framework
needs are:

Informers - A watch mechanism that handles the watching of events and
then publishes them onto a queue for the controller's worker/reconciler to
handle. I think that for some programming languages this is easier than
others, but I think the pattern should probably be used in most cases. This
informer also has to keep a in memory cache of all the resources that it is
watching.
The ability for the client of the controller/operator/reconciler to
query that cache to reduce load on the api-server.

What do people think of these? Are there more that anyone sees?
Thanks,
Shawn Hurley
On Fri, Jun 21, 2019 at 5:09 AM Lili Cosic<EMAIL_ADDRESS>wrote:

Thanks for the feature request. If there is any specific things you would
like to see being used, best practices etc, in the java operator type
please list below. Similar as to how @jbrisbin
https://github.com/jbrisbin did it, always good to get information
ahead of time!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/operator-framework/operator-sdk/issues/1568?email_source=notifications&email_token=AAONV52J3JIOXXTRHNHPJFLP3SLD5A5CNFSM4HY4CTB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYH5F3A#issuecomment-504353516,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAONV574CRVJ67NV73AQQFLP3SLD5ANCNFSM4HY4CTBQ
.

cc @cmoulliard I believe you had interest in java type operators as well. ^

Yep like also @rhuss @jkremser

Are there more that anyone sees?

Definitively. My list included also the following features

Registration of the CRDs resources to be watched: primary and secondary
Notification when a K8s resource has been created, updated or deleted (=> informer ?)
Cache managing the k8s watched resources (to avoid to query time the k8s every time)
Status management (= aggregate status of 2nd resources, ...)

/remove-lifecycle stale

/lifecycle frozen

https://github.com/ContainerSolutions/java-operator-sdk looks to build this feature set

Meta-issue for non-Go Operator SDK's: #2745.

Update:

Java controller-runtime: https://github.com/operator-framework/java-controller-runtime
Java operator-sdk (with sample): https://github.com/operator-framework/java-operator

Could we not close this one @jmrodri ?

Done! +1 @camilamacedo86


Added a new game

PR Description 📜
Fixes https://github.com/kunjgit/GameZone/issues/3447

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you @codewithishu ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @codewithishu,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Thank you  @codewithishu , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Error opening raft store: missing port in address

Hi,
I just followed the samara/README.md and got this error:
$ go run main.go
Error opening raft store: missing port in address
exit status 1

I'm using go version go1.7.5 darwin/amd64 on macOS Sierra 10.12.3 (16D32).
I also tried go get -u github.com/kardianos/govendor and govendor sync - inspired by your Makefile - assuming some dependency version issues but got
$ govendor sync
# cd .; git clone https://gopkg.in/alecthomas/kingpin.v2 /Users/stefanscheidt/Code/Go/.cache/govendor/gopkg.in/alecthomas/kingpin.v2
Cloning into '/Users/stefanscheidt/Code/Go/.cache/govendor/gopkg.in/alecthomas/kingpin.v2'...
error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301
fatal: The remote end hung up unexpectedly
Error: Remotes failed for:
	Failed for "gopkg.in/alecthomas/kingpin.v2" (failed to clone repo): exit status 128

Hey thanks, I changed the params the other day and forgot to update the example. Give it another try and let me know if it works.

Hello, thanks for the super quick response. Now it works:
...
producer and consumer worked! 15 messages ok

Thanks!

By the way, the problem with govendor sync could be fixes with a workaround I found here:
git config --global http.https://gopkg.in.followRedirects true

No need to change the configuration anymore. We've changed gopkg.in itself to support the new git quirks.

Cool. Thanks!


fix: DEV-3666: Fix maxUsages on regions creation

Hi @Gondragos!
This PR was created in response to a PRs in upstream repo:

https://github.com/heartexlabs/label-studio-frontend/pull/1021

This should help with https://github.com/heartexlabs/label-studio/issues/3143


rust-analyzer-unwrapped: 2022-04-04 -> 2022-04-11

Description of changes
Just a regular version bump.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 168274 run on x86_64-linux 1

3 packages built:

rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.matklad.rust-analyzer


#1109 allow multiple environments to be given

see https://github.com/getgauge/gauge/issues/1109
the change allows to give multiple environments to Gauge in the following way
gauge run --env "foo, bar, blub"
It follows the previous solution of first come, first serve, which means that if an env variable is set by a preceding env, it is not overwritten by a following one.

@ajoecker - I was thinking if this could be implemented in a better fashion.
Perhaps have composable environments, so that
foo_bar would contain foo union bar + extra if needed. We still need to explore which takes precedence, but you get the idea.
Some benefits (IMO) :

the meta environments are also part of the project (i.e. checked in with tests) and can be replicated to other machines.
allow extra properties to be defined (or even override property explicitly)

What do you think?

I'm not sure to get the idea of the composable environments - do you have a small example ?

Sure, here's what I think.
Say the project's env looks like this:

Sure, here's one.
Say the project's env looks like this:
env
├── bar
│   ├── default.properties
│   └── java.properties
├── default
│   ├── default.properties
│   └── java.properties
├── foo
│   ├── default.properties
│   └── java.properties
└── foo_bar
    └── inherited.properties

And the foo_bar/inherited.properties looks like this:
# include foo
# include bar

i_am_a_new_property = hello

Then gauge run specs --env=foo_bar should use the properties specified in foo and bar, as well as the new i_am_a_new_property

First, naiv thought.... if I look at the original issue, Thunderforge complains, that they must create additional folders/files to have a combination of environments available.
With your solution, I do not see a gain from that. If I want to combine bar and foo, I would again need to have additional work to do so.
If you again look at Thunderforge's example, where he combines a lot of several environments, it would mean for each combination to have a union folder with different includes etc ?
Maybe I do not see the idea behind that right now, but to be able to combine on the fly, without much additional work, this does not seem so appealing.
I dont say that the idea in general is bad, this might be a interesting thought, but it does not help for this problem in my eyes (@Thunderforge might be able to add more to this ?!)

Let's continue the discussion on #1109

@gaugebot recheck the pull request.

@gaugebot recheck the pull request.

@gaugebot recheck this pull request.

@gaugebot recheck this pull request.

@gaugebot recheck this pull request.

@gaugebot recheck this pull request.

@gaugebot recheck this pull request.

sorry - I missed that request... will take a look

TestLoadMultipleEnvEnsureFirstOneDecides is failing on travis - https://travis-ci.org/getgauge/gauge/jobs/414366676#L655

@ajoecker @sriv the only and important use case I can see is to override a variable in env1 from env2. But from the changes, I can only see that it combines multiple environments by taking the first value. What decides the priority of the environments passed?

@ajoecker @sriv the only and important use case I can see is to override a variable in env1 from env2. But from the changes, I can only see that it combines multiple environments by taking the first value. What decides the priority of the environments passed?

see discussion here https://github.com/getgauge/gauge/issues/1109#issuecomment-402888141


Added support for Django 4.0

Description
Added Django 4.0 support to test configs (GH and Tox) docs, and classifiers.
Motivation and Context
Django 4.0 is now in alpha and project can now test against that version to confirm compatibility.
How Has This Been Tested?
Tested locally with new Django4.0 environment with python 3.9 and sqlite.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have run the make format command to format my code. Yes, but it failed due to unrelated changes.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have added my name and/or github handle to AUTHORS.rst
[x] I have added my change to CHANGES.rst
[x] All new and existing tests passed.

Undid the merge into the branch and rebased on main. Fixed the linter and updated the django reference to the release candidate.

Thanks David!

Thanks for the review and merge.
Good luck in the Django board elections 👍


[bugfix] handle cast empty json string

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #5728
Problem Summary(Required) ：

Parse empty json string generate a json type of None, which not handled by current cast expression and to_string function.

@Mergifyio backport branch-2.2


BUG: Not all prefix visible if is more than 6 char long

Describe the bug
No warning when prefix is to long
To Reproduce
Steps to reproduce the behavior:

Create a 6 char + long prefix

Expected behavior
Creating a prefix more than 6 char long should be easily visible or warn the user that not all text may be visible
Screenshots
If applicable, add screenshots to help explain your problem.

Fixed on 14b1bea2


how to generate migrations from an existing database

how to generate migrations from an existing database, including indexes and foreign keys?

I'm working on a script to extend https://github.com/gwa/MySQL2Phinx in an attempt to fully cover MySQL, and then probably PostGREs

Hi! You could try to generate a migration with odan/phinx-migrations-generator

Duplicate of https://github.com/cakephp/phinx/issues/350 ?


How do you playback streams across multiple domains.

server {
    listen 1935;
    server_name domain1.com
    application live {
        live on;
        allow play <IP_ADDRESS>;
        deny play all;
    }
}

server {
    listen 1935;
    server_name domain2.com

    application live {
        live on;
        allow play <IP_ADDRESS>;
        deny play all;
    }
}

if i stream to the first domain and do
ffprobe rtmp://<IP_ADDRESS>/live/xxx
the stream exists and i get data.
This is not the same for if i were to stream to the second domain.

Well, the server cannot match the different server blocks according to IPs but domain names.
If you want to stream to the second domain and play from it, please use domain name in url rather than IP:
publish: ffmpeg -re -i media_file -c copy -f flv rtmp://domain2/live/xxx
play: ffplay rtmp://domain2/live/xxx

I c thanks <2


Local installation problem

Describe the bug
I am trying to follow the local installation guide. (https://pyvrp.readthedocs.io/en/latest/dev/contributing.html)
Everything seems to work: Installed the correct C++ compiler, poetry, forking the repository and poetry install --with examples,docs,dev seems the work properly(no errors after installing) until:
Installing the current project: pyvrp (0.1.0)
Preparing build environment with build-system requirements poetry-core, pybind11, meson, ninja
This gets stuck and doesn't finish installation.
After removing the c++ compiler(msys86-gcc), poetry install --with examples,docs,dev doesn't get stuck.
But after running: poetry run pytest results in the  error shown at the bottom:
The error at the bottom only contains the error ones because it always the same error:
ModuleNotFoundError: No module named 'pyvrp._Individual'
The problem is not with the  _Individual module itself, as any of the .pyi modules run into this problem(for example _PenaltyManager).
Something goes wrong in the following installation step:
Preparing build environment with build-system requirements poetry-core, pybind11, meson, ninja
How can I fix this issue?
ps. the compiler seems to work well with poetry run python build_extensions.py and I also tried a different compiler but results were the same.
Error sample:
ERROR collecting pyvrp/tests/test_read.py ______________________________________
ImportError while importing test module 'C:\pyvrp\pyvrp\tests\test_read.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python38\lib\importlib_init_.py:127: in import_module
return bootstrap.gcd_import(name[level:], package, level)
pyvrp_init.py:1: in
from .GeneticAlgorithm import GeneticAlgorithm, GeneticAlgorithmParams
pyvrp\GeneticAlgorithm.py:5: in
from pyvrp.educate.LocalSearch import LocalSearch
pyvrp\educate_init.py:1: in
from .LocalSearch import LocalSearch
pyvrp\educate\LocalSearch.py:3: in
from pyvrp._Individual import Individual
E   ModuleNotFoundError: No module named 'pyvrp._Individual'

----------- coverage: platform win32, python 3.8.2-final-0 -----------
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
pyvrp\GeneticAlgorithm.py                        98     94     4%
pyvrp\OptimisationTarget.py                       1      1     0%
pyvrp\Population.py                              53     53     0%
pyvrp\Result.py                                  26     26     0%
pyvrp\Statistics.py                              77     77     0%
pyvrp\__init__.py                                10      9    10%
pyvrp\crossover\__init__.py                       1      1     0%
pyvrp\crossover\selective_route_exchange.py      13     13     0%
pyvrp\diagnostics\__init__.py                     1      1     0%
pyvrp\diagnostics\get_route_statistics.py        45     45     0%
pyvrp\diversity\__init__.py                       1      1     0%
pyvrp\educate\LocalSearch.py                     31     29     6%
pyvrp\educate\__init__.py                         9      8    11%
pyvrp\educate\neighbourhood.py                   44     44     0%
pyvrp\exceptions.py                               2      2     0%
pyvrp\plotting\__init__.py                       10     10     0%
pyvrp\plotting\plot_coordinates.py               17     17     0%
pyvrp\plotting\plot_demands.py                   16     16     0%
pyvrp\plotting\plot_diversity.py                 19     19     0%
pyvrp\plotting\plot_instance.py                  14     14     0%
pyvrp\plotting\plot_objectives.py                29     29     0%
pyvrp\plotting\plot_result.py                    18     18     0%
pyvrp\plotting\plot_route_schedule.py            79     79     0%
pyvrp\plotting\plot_runtimes.py                  19     19     0%
pyvrp\plotting\plot_solution.py                  26     26     0%
pyvrp\plotting\plot_time_windows.py              18     18     0%
pyvrp\read.py                                    62     62     0%
pyvrp\stop\MaxIterations.py                      10     10     0%
pyvrp\stop\MaxRuntime.py                         13     13     0%
pyvrp\stop\NoImprovement.py                      15     15     0%
pyvrp\stop\StoppingCriterion.py                   2      2     0%
pyvrp\stop\TimedNoImprovement.py                  9      9     0%
pyvrp\stop\__init__.py                            5      5     0%
-----------------------------------------------------------------
TOTAL                                           793    785     1%
Coverage XML written to file coverage.xml
=============================================== short test summary info ===============================================
ERROR pyvrp/crossover/tests/test_selective_route_exchange.py
ERROR pyvrp/diagnostics/tests/test_get_route_statistics.py
ERROR pyvrp/diversity/tests/test_broken_pairs_distance.py
ERROR pyvrp/educate/tests/test_Exchange.py
ERROR pyvrp/educate/tests/test_LocalSearch.py
ERROR pyvrp/educate/tests/test_MoveTwoClientsReversed.py
ERROR pyvrp/educate/tests/test_RelocateStar.py
ERROR pyvrp/educate/tests/test_SwapStar.py
ERROR pyvrp/educate/tests/test_TwoOpt.py
ERROR pyvrp/educate/tests/test_neighbourhood.py
ERROR pyvrp/plotting/tests/test_plotting.py
ERROR pyvrp/stop/tests/test_MaxIterations.py
ERROR pyvrp/stop/tests/test_MaxRuntime.py
ERROR pyvrp/stop/tests/test_NoImprovement.py
ERROR pyvrp/stop/tests/test_TimedNoImprovement.py
ERROR pyvrp/tests/test_GeneticAlgorithm.py
ERROR pyvrp/tests/test_Individual.py
ERROR pyvrp/tests/test_Matrix.py
ERROR pyvrp/tests/test_PenaltyManager.py
ERROR pyvrp/tests/test_Population.py
ERROR pyvrp/tests/test_ProblemData.py
ERROR pyvrp/tests/test_Result.py
ERROR pyvrp/tests/test_Statistics.py
ERROR pyvrp/tests/test_SubPopulation.py
ERROR pyvrp/tests/test_TimeWindowSegment.py
ERROR pyvrp/tests/test_XorShift128.py
ERROR pyvrp/tests/test_read.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 27 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================= 27 errors in 1.81s ==================================================

Hi!👋 Thanks for the quick response!
below is the full output:
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: C:\Users\groot\AppData\Local\pypoetry\Cache\virtualenvs\pyvrp-Aytlwvpu-py3.10\Scripts\ninja.EXE -C C:/PyVRP/build
ninja: Entering directory `C:/PyVRP/build'
[0/1] Regenerating build files.The Meson build system
Version: 1.0.1
Source dir: C:\PyVRP
Build dir: C:\PyVRP\build
Build type: native build
Project name: pyvrp
Project version: undefined
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Rev10, Built by MSYS2 project) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -Wno-unused-parameter: YES (cached)
Program python3 found: YES (C:\Users\groot\AppData\Local\Temp\tmph7ml20y2.venv\Scripts\python.exe)
Found pkg-config: C:\msys64\mingw64\bin\pkg-config.EXE (1.8.0)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency pybind11 found: NO (tried pkgconfig and cmake)
Message: Could not find pybind11 as a dependency: trying headers.
Program pybind11-config found: YES (C:\Users\groot\AppData\Local\pypoetry\Cache\virtualenvs\pyvrp-Aytlwvpu-py3.10\Scripts\pybind11-config.EXE)
Message: Going to build Matrix
Message: Going to build PenaltyManager
Message: Going to build ProblemData
Message: Going to build SubPopulation
Message: Going to build TimeWindowSegment
Message: Going to build XorShift128
Message: Going to build Individual
Message: Going to build selective_route_exchange
Message: Going to build broken_pairs_distance
Message: Going to build LocalSearch
Message: Going to build Exchange
Message: Going to build MoveTwoClientsReversed
Message: Going to build TwoOpt
Message: Going to build RelocateStar
Message: Going to build SwapStar
Build targets in project: 16
pyvrp undefined
User defined options
buildtype        : release
strip            : true
python.platlibdir: C:\PyVRP
problem          : vrptw
Found ninja-1.11.1.git.kitware.jobserver-1 at C:\Users\groot\AppData\Local\pypoetry\Cache\virtualenvs\pyvrp-Aytlwvpu-py3.10\Scripts\ninja.EXE
Cleaning... 0 files.
[15/30] Linking target _XorShift128.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[16/30] Linking target _TimeWindowSegment.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[17/30] Linking target _MoveTwoClientsReversed.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[18/30] Linking target _broken_pairs_distance.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[19/30] Linking target _RelocateStar.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[20/30] Linking target _selective_route_exchange.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[21/30] Linking target _TwoOpt.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[22/30] Linking target _PenaltyManager.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[23/30] Linking target _ProblemData.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[24/30] Linking target _Matrix.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[25/30] Linking target _Exchange.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[26/30] Linking target _Individual.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[27/30] Linking target _LocalSearch.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[28/30] Linking target _SubPopulation.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
[30/30] Linking target _SwapStar.cp310-win_amd64.pyd
lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
ninja: Entering directory `C:\PyVRP\build'
ninja: no work to do.
Installing _Matrix.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_Matrix.cp310-win_amd64.pyd'.
Installing _Matrix.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _PenaltyManager.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_PenaltyManager.cp310-win_amd64.pyd'.
Installing _PenaltyManager.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _ProblemData.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_ProblemData.cp310-win_amd64.pyd'.
Installing _ProblemData.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _SubPopulation.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_SubPopulation.cp310-win_amd64.pyd'.
Installing _SubPopulation.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _TimeWindowSegment.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_TimeWindowSegment.cp310-win_amd64.pyd'.
Installing _TimeWindowSegment.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _XorShift128.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_XorShift128.cp310-win_amd64.pyd'.
Installing _XorShift128.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _Individual.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/
Stripping target '_Individual.cp310-win_amd64.pyd'.
Installing _Individual.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/
Installing _selective_route_exchange.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/crossover
Stripping target '_selective_route_exchange.cp310-win_amd64.pyd'.
Installing _selective_route_exchange.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/crossover
Installing _broken_pairs_distance.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/diversity
Stripping target '_broken_pairs_distance.cp310-win_amd64.pyd'.
Installing _broken_pairs_distance.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/diversity
Installing _LocalSearch.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/educate
Stripping target '_LocalSearch.cp310-win_amd64.pyd'.
Installing _LocalSearch.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/educate
Installing _Exchange.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/educate
Stripping target '_Exchange.cp310-win_amd64.pyd'.
Installing _Exchange.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/educate
Installing _MoveTwoClientsReversed.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/educate
Stripping target '_MoveTwoClientsReversed.cp310-win_amd64.pyd'.
Installing _MoveTwoClientsReversed.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/educate
Installing _TwoOpt.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/educate
Stripping target '_TwoOpt.cp310-win_amd64.pyd'.
Installing _TwoOpt.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/educate
Installing _RelocateStar.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/educate
Stripping target '_RelocateStar.cp310-win_amd64.pyd'.
Installing _RelocateStar.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/educate
Installing _SwapStar.cp310-win_amd64.pyd to C:/PyVRP\pyvrp/educate
Stripping target '_SwapStar.cp310-win_amd64.pyd'.
Installing _SwapStar.cp310-win_amd64.dll.a to C:/PyVRP\pyvrp/educate

That looks OK to me. The build steps start at [15/30]; do you also happen to have an overview of what happens during compilation?
Additionally, when you look in C:/PyVRP/pyvrp, do you see files ending in .pyd and/or .dll.a? They should be a few hundred kilobytes in size (or more; but not much smaller).

The build steps start at [15/30]; do you also happen to have an overview of what happens during compilation?
To be honest, I do not exactly know where to find this
Additionally, when you look in C:/PyVRP/pyvrp, do you see files ending in .pyd and/or .dll.a? They should be a few hundred kilobytes in size (or more; but not much smaller).
Yes, these files are all added after running poetry run python build_extensions.py, which is why I assumed it was working.
Both file types are added
This last point might be totally unrelated, but just to be sure. PyCharm seems to be able to "find" a .py file for all of the .pyi files in the package(_SubPopulation.pyi -> _SubPopulation.py) these files are located outside of the actual PyVRP package (PyCharm/python_stubs).
On the other hand, PyCharm is unable to find these files for the local repository.

The build steps start at [15/30]; do you also happen to have an overview of what happens during compilation? To be honest, I do not exactly know where to find this

You can try by removing the entire build/ folder and starting again. That should restart the entire build process from scratch. Looking at your current build log, I have two additional questions:

Is the Python at C:\Users\groot\AppData\Local\Temp\tmph7ml20y2.venv\Scripts\python.exe the same Python as what you're using within your virtual environment (C:\Users\groot\AppData\Local\pypoetry\Cache\virtualenvs\pyvrp-Aytlwvpu-py3.10)?
Are you sure there are not two conflicting pyvrp installations? Especially w.r.t. the last point about type stubs, that might be the case.

Additionally, when you look in C:/PyVRP/pyvrp, do you see files ending in .pyd and/or .dll.a? They should be a few hundred kilobytes in size (or more; but not much smaller). Yes, these files are all added after running poetry run python build_extensions.py, which is why I assumed it was working. Both file types are added

That seems correct to me. The files then definitely exists.

This last point might be totally unrelated, but just to be sure. PyCharm seems to be able to "find" a .py file for all of the .pyi files in the package(_SubPopulation.pyi -> _SubPopulation.py) these files are located outside of the actual PyVRP package in PyCharm/python_stubs. The package is just the pip install version I got installed on a venv On the other hand, PyCharm is unable to find these files for the local repository.

I'm pretty sure that's just PyCharm's way of handling type stubs for native extension modules; I would not worry about this per se.

Is the Python at C:\Users\groot\AppData\Local\Temp\tmph7ml20y2.venv\Scripts\python.exe the same Python as what you're using within your virtual environment (C:\Users\groot\AppData\Local\pypoetry\Cache\virtualenvs\pyvrp-Aytlwvpu-py3.10)?
that file currently doesn't exist anymore(tmph7ml20y2.venv)
Are you sure there are not two conflicting pyvrp installations? Especially w.r.t. the last point about type stubs, that might be the case.
To test I removed every installation of the package(were only venv installation but also remove all the pycharm stubs).
I un- and reinstalled everything and after running 'poetry run python build_extensions.py'  and poetry run pytest I still get the same error(even in a WSL environment). I can test poetry run python build_extensions.py anymore because it is giving me the following error:  No such build data file as 'C:\PyVRP\build\meson-private\build.dat'.

Just to confirm: when you install the package from PyPI, that version does work?

Yes, the package itself does work

OK, I am a bit stumped as well. I checked your build messages against our Windows CD build logs, and that seems correct. Can you point which pyvrp is loaded by printing import pyvrp; print(pyvrp.__file__)? Additionally, it might be useful to create a debug build, via poetry run python build_extensions.py --build_type debug.

Hi! importing pyvrp does not work because it give the same error  No module named 'pyvrp._Individual'.
I've started from the beginning again. This gives the following error while running poetry install --with examples,docs,dev
This error wasn't there before:
Preparing build environment with build-system requirements poetry-core, pybind11, meson, ninja
The Meson build system
Version: 1.1.0
Source dir: C:\Users\groot\PyVRP
Build dir: C:\Users\groot\PyVRP\build
Build type: native build
Project name: pyvrp
Project version: undefined
C++ compiler for the host machine: c++ (gcc 6.3.0 "c++ (MinGW.org GCC-6.3.0-1) 6.3.0")
C++ linker for the host machine: c++ ld.bfd 2.28
Host machine cpu family: x86
Host machine cpu: x86
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Program python3 found: YES (C:\Users\groot\AppData\Local\Temp\tmppz4ttmay.venv\Scripts\python.exe)
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
pybind11-config found: YES (C:\Users\groot\AppData\Local\Temp\tmppz4ttmay.venv\Scripts\pybind11-config.EXE) 2.10.4
Run-time dependency pybind11 found: YES 2.10.4
Need python for 32-bit, but found 64-bit
meson.build:92:19: ERROR: Python dependency not found
A full log can be found at C:\Users\groot\PyVRP\build\meson-logs\meson-log.txt
Traceback (most recent call last):
File "C:\Users\groot\PyVRP\build_extensions.py", line 119, in
main()
File "C:\Users\groot\PyVRP\build_extensions.py", line 112, in main
build(build_dir, args.build_type, args.problem, args.additional)
File "C:\Users\groot\PyVRP\build_extensions.py", line 96, in build
check_call(["meson", cmd, build_dir, *args])
File "C:\Users\groot\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['meson', 'setup', WindowsPath('C:/Users/groot/PyVRP/build'), '--buildtype', 'release', '-Dpython.platlibdir=C:\Users\groot\PyVRP', '-Dproblem=vrptw', '-Dstrip=true']' returned non-zero exit status 1.
Installing the current project: pyvrp (0.1.0)`
meson-log.txt
Build started at 2023-04-12T11:42:32.961303
Main binary: C:\Users\groot\AppData\Local\Temp\tmppz4ttmay.venv\Scripts\python.exe
Build Options: '-Dpython.platlibdir=C:\Users\groot\PyVRP' -Dproblem=vrptw -Dstrip=true -Dbuildtype=release
Python system: Windows
The Meson build system
Version: 1.1.0
Source dir: C:\Users\groot\PyVRP
Build dir: C:\Users\groot\PyVRP\build
Build type: native build
Project name: pyvrp
Project version: undefined
Detecting compiler via: icl ""
Detecting compiler via: cl /?
Detecting compiler via: c++ --version
compiler returned <Popen: returncode: 0 args: ['c++', '--version']>
compiler stdout:
c++ (MinGW.org GCC-6.3.0-1) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiler stderr:
Running command: c++ -E -dM -
Detecting linker via: c++ -Wl,--version
linker returned <Popen: returncode: 0 args: ['c++', '-Wl,--version']>
linker stdout:
GNU ld (GNU Binutils) 2.28
Copyright (C) 2017 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
linker stderr:
collect2 version 6.3.0
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe -plugin c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/liblto_plugin-0.dll -plugin-opt=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\groot\AppData\Local\Temp\ccBpEk9I.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -Bdynamic -u ___register_frame_info -u ___deregister_frame_info c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../crt2.o c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtbegin.o -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0 -Lc:/mingw/bin/../lib/gcc -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../.. --version -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtend.o
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

Sanity check compile stderr:

Running test binary command:  C:\Users\groot\PyVRP\build\meson-private\sanitycheckcpp.exe
C++ compiler for the host machine: c++ (gcc 6.3.0 "c++ (MinGW.org GCC-6.3.0-1) 6.3.0")
C++ linker for the host machine: c++ ld.bfd 2.28
Detecting compiler via: icl ""
Detecting compiler via: cl /?
Detecting compiler via: c++ --version
compiler returned <Popen: returncode: 0 args: ['c++', '--version']>
compiler stdout:
c++ (MinGW.org GCC-6.3.0-1) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiler stderr:
Running command: c++ -E -dM -
Detecting linker via: c++ -Wl,--version
linker returned <Popen: returncode: 0 args: ['c++', '-Wl,--version']>
linker stdout:
GNU ld (GNU Binutils) 2.28
Copyright (C) 2017 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
linker stderr:
collect2 version 6.3.0
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe -plugin c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/liblto_plugin-0.dll -plugin-opt=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\groot\AppData\Local\Temp\ccS0wt8v.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -Bdynamic -u ___register_frame_info -u ___deregister_frame_info c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../crt2.o c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtbegin.o -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0 -Lc:/mingw/bin/../lib/gcc -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../.. --version -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtend.o
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

Sanity check compile stderr:

Running test binary command:  C:\Users\groot\PyVRP\build\meson-private\sanitycheckcpp.exe
C++ compiler for the build machine: c++ (gcc 6.3.0 "c++ (MinGW.org GCC-6.3.0-1) 6.3.0")
C++ linker for the build machine: c++ ld.bfd 2.28
Build machine cpu family: x86
Build machine cpu: x86
Host machine cpu family: x86
Host machine cpu: x86
Target machine cpu family: x86
Target machine cpu: x86
Running compile:
Working directory:  C:\Users\groot\PyVRP\build\meson-private\tmpjgsuhmf9
Command line:  c++ C:\Users\groot\PyVRP\build\meson-private\tmpjgsuhmf9\testfile.cpp -o C:\Users\groot\PyVRP\build\meson-private\tmpjgsuhmf9\output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wunused-parameter -Wno-unused-parameter
Code:
extern int i;
int i;
Compiler stdout:
Compiler stderr:
Compiler for C++ supports arguments -Wno-unused-parameter: YES
'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte
Unusable script 'C:\Users\groot\AppData\Local\Temp\tmppz4ttmay\.venv\Scripts\python.exe'
Program python3 found: YES (C:\Users\groot\AppData\Local\Temp\tmppz4ttmay.venv\Scripts\python.exe)
Pkg-config binary for 1 is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Pkg-config binary for machine 1 not found. Giving up.
pybind11-config binary missing from cross or native file, or env var undefined.
Trying a default pybind11-config fallback at pybind11-config
pybind11-config found: YES (C:\Users\groot\AppData\Local\Temp\tmppz4ttmay.venv\Scripts\pybind11-config.EXE) 2.10.4
Run-time dependency pybind11 found: YES 2.10.4
Need python for 32-bit, but found 64-bit
Running compile:
Working directory:  C:\Users\groot\PyVRP\build\meson-private\tmp5tyw3fqo
Command line:  c++ -IC:\Users\groot\AppData\Local\Programs\Python\Python311\Include C:\Users\groot\PyVRP\build\meson-private\tmp5tyw3fqo\testfile.cpp -E -P -D_FILE_OFFSET_BITS=64 -P -O0 -fpermissive -DMS_WIN64=
Code:
    #ifdef __has_include
     #if !__has_include("Python.h")
      #error "Header 'Python.h' could not be found"
     #endif
    #else
     #include <Python.h>
    #endif

Compiler stdout:
Compiler stderr:
meson.build:92:19: ERROR: Python dependency not found

Ive seem to have solved the above problem by installing a different C++ compiler:
Which now give the  output at the bottom:
sadly after running poetry run pytest
I still get the error: ImportError: DLL load failed while importing _CostEvaluator: The specified module could not be found.
only now it is an DLL load fail.
after running poetry install --with examples,docs,dev again I get the following error:
[1/30] Compiling C++ object _XorShift128.cp311-win_amd64.pyd.p/pyvrp_cpp_XorShift128_bindings.cpp.obj
FAILED: _XorShift128.cp311-win_amd64.pyd.p/pyvrp_cpp_XorShift128_bindings.cpp.obj
"c++" "-I_XorShift128.cp311-win_amd64.pyd.p" "-I." "-I.." "-I..\pyvrp\cpp" "-IC:\Users\groot\AppData\Local\Programs\Python\Python311\Include" "-IC:\Users\groot\AppData\Local\Temp\tmp3la_cw8j.venv\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto=auto" "-fdiagnostics-color=always" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-Wextra" "-Wpedantic" "-Werror" "-std=c++20" "-O3" "-Wno-unused-parameter" "-DMS_WIN64=" -MD -MQ _XorShift128.cp311-win_amd64.pyd.p/pyvrp_cpp_XorShift128_bindings.cpp.obj -MF "_XorShift128.cp311-win_amd64.pyd.p\pyvrp_cpp_XorShift128_bindings.cpp.obj.d" -o _XorShift128.cp311-win_amd64.pyd.p/pyvrp_cpp_XorShift128_bindings.cpp.obj "-c" ../pyvrp/cpp/XorShift128_bindings.cpp
../pyvrp/cpp/XorShift128_bindings.cpp:3:10: fatal error: pybind11/pybind11.h: No such file or directory
3 | #include <pybind11/pybind11.h>
output:
Preparing build environment with build-system requirements poetry-core, pybind11, meson, ninja
The Meson build system
Version: 1.1.0
Source dir: C:\Users\groot\PyVRP
Build dir: C:\Users\groot\PyVRP\build
Build type: native build
Project name: pyvrp
Project version: undefined
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (x86_64-posix-seh-rev2, Built by MinGW-W64 project) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Program python3 found: YES (C:\Users\groot\AppData\Local\Temp\tmp3la_cw8j.venv\Scripts\python.exe)
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
pybind11-config found: YES (C:\Users\groot\AppData\Local\Temp\tmp3la_cw8j.venv\Scripts\pybind11-config.EXE) 2.10.4
Run-time dependency pybind11 found: YES 2.10.4
Message: Going to build Matrix
Message: Going to build CostEvaluator
Message: Going to build ProblemData
Message: Going to build SubPopulation
Message: Going to build TimeWindowSegment
Message: Going to build XorShift128
Message: Going to build Individual
Message: Going to build selective_route_exchange
Message: Going to build broken_pairs_distance
Message: Going to build LocalSearch
Message: Going to build Exchange
Message: Going to build MoveTwoClientsReversed
Message: Going to build TwoOpt
Message: Going to build RelocateStar
Message: Going to build SwapStar
Build targets in project: 16
pyvrp undefined
User defined options
buildtype        : release
strip            : true
python.platlibdir: C:\Users\groot\PyVRP
problem          : vrptw
Found ninja-1.11.1.git.kitware.jobserver-1 at C:\Users\groot\AppData\Local\Temp\tmp3la_cw8j.venv\Scripts\ninja.EXE
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: C:\Users\groot\AppData\Local\Temp\tmp3la_cw8j.venv\Scripts\ninja.EXE -C C:/Users/groot/PyVRP/build
ninja: Entering directory C:/Users/groot/PyVRP/build' [27/46] Linking target _TimeWindowSegment.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [28/46] Linking target _XorShift128.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [29/46] Linking target _selective_route_exchange.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [30/46] Linking target _broken_pairs_distance.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [31/46] Linking target _CostEvaluator.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [32/46] Linking target _Individual.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [33/46] Linking target _ProblemData.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [34/46] Linking target _Matrix.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [35/46] Linking target _LocalSearch.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [36/46] Linking target _SubPopulation.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 4 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [42/46] Linking target _MoveTwoClientsReversed.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [43/46] Linking target _TwoOpt.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [44/46] Linking target _RelocateStar.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [45/46] Linking target _SwapStar.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 3 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information [46/46] Linking target _Exchange.cp311-win_amd64.pyd lto-wrapper.exe: warning: using serial compilation of 4 LTRANS jobs lto-wrapper.exe: note: see the '-flto' option documentation for more information ninja: Entering directory C:\Users\groot\PyVRP\build'
ninja: no work to do.
Installing _Matrix.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_Matrix.cp311-win_amd64.pyd'.
Installing _Matrix.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _CostEvaluator.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_CostEvaluator.cp311-win_amd64.pyd'.
Installing _CostEvaluator.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _ProblemData.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_ProblemData.cp311-win_amd64.pyd'.
Installing _ProblemData.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _SubPopulation.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_SubPopulation.cp311-win_amd64.pyd'.
Installing _SubPopulation.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _TimeWindowSegment.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_TimeWindowSegment.cp311-win_amd64.pyd'.
Installing _TimeWindowSegment.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _XorShift128.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_XorShift128.cp311-win_amd64.pyd'.
Installing _XorShift128.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _Individual.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/
Stripping target '_Individual.cp311-win_amd64.pyd'.
Installing _Individual.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/
Installing _selective_route_exchange.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/crossover
Stripping target '_selective_route_exchange.cp311-win_amd64.pyd'.
Installing _selective_route_exchange.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/crossover
Installing _broken_pairs_distance.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/diversity
Stripping target '_broken_pairs_distance.cp311-win_amd64.pyd'.
Installing _broken_pairs_distance.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/diversity
Installing _LocalSearch.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/educate
Stripping target '_LocalSearch.cp311-win_amd64.pyd'.
Installing _LocalSearch.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/educate
Installing _Exchange.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/educate
Stripping target '_Exchange.cp311-win_amd64.pyd'.
Installing _Exchange.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/educate
Installing _MoveTwoClientsReversed.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/educate
Stripping target '_MoveTwoClientsReversed.cp311-win_amd64.pyd'.
Installing _MoveTwoClientsReversed.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/educate
Installing _TwoOpt.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/educate
Stripping target '_TwoOpt.cp311-win_amd64.pyd'.
Installing _TwoOpt.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/educate
Installing _RelocateStar.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/educate
Stripping target '_RelocateStar.cp311-win_amd64.pyd'.
Installing _RelocateStar.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/educate
Installing _SwapStar.cp311-win_amd64.pyd to C:/Users/groot/PyVRP\pyvrp/educate
Stripping target '_SwapStar.cp311-win_amd64.pyd'.
Installing _SwapStar.cp311-win_amd64.dll.a to C:/Users/groot/PyVRP\pyvrp/educate
Installing the current project: pyvrp (0.1.0)

Hi Niels, I've gotten the advice to use WSL. This completely fixed the issue!

@SemUijen great to hear! I'll leave this issue open for now so I can have a look at this later in a bit more detail, and hopefully figure it out.

Returning to this after a few months, I think it might have been that poetry install did not succeed. As a consequence, no editable installation was ever produced. As a result, pyvrp was not installed in the virtual environment. So any imports from pyvrp would not have succeeded. Compiling clearly does work: poetry run python build_extensions.py went alright. But without that editable installation, it's of no use.
One way forward might be to run poetry install -vvv to get as many debug messages as possible.