Hi Samim, you should update your Generator, we just launched version 8 together with Mendix 8. Please take a look at this repo:
**Your dependencies are outdated
Thanks for the reply I did run below commands(and recreated the project):
npm install -g yo@latest npm install -g @mendix/generator-widget npm install
now get this:
/usr/bin/bash: pluggable-widgets-tools: command not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file C:\Program Files\git\bin\bash.exe npm ERR! errno ENOENT npm ERR! firstname.lastname@example.org dev: `pluggable-widgets-tools start:ts` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the email@example.com dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Hi Samim, apparently is your command line, I've also tested with Git Bash and it's working as expected. Just try to use another one like powershell or the default cmd.
Check my screenshot
Yes tried it with Git Bash and Windows Powershell still same error. Updated Node too in case that was causing the issue but no joy.
PS. according to this: if I re-generate @mendix/pluggable-widgets-tools’ version should be ^8.0.1 but I get ^8.0.0. But then again even if I do it manually still get same error (btw also uninstalled pluggable-widgets-tools globally and reinstalled it again)
had content inside .npmrc in C:\Users\<user> removing that and running npm i solved it!
`pluggable-widget-tools` should NOT be installed globally.
Yea didnt install it globally.
Do you know if Mendix 8 default widgets (e.g. drop down) is open source?