moelzanaty3 / m-zanaty-web-utils

MIT License
7 stars 2 forks source link

'set-script' isn't working with older versions of npm. #1

Open ibnsamy96 opened 2 years ago

ibnsamy96 commented 2 years ago

Hi Mr. Mohamed, Thanks for creating this package, I found it a helpful one. I had an issue while creating a new project using your tool with a log Whoops!, Sir... 😂💔 but Command failed: npm set-script start:dev "nodemon --watch './**/*.ts' --exec 'ts-node' ./src/index.ts. It seems that the set-script command requires at least npm v7.x and my npm version was 6.x, I updated npm to the latest version and everything went fine. I just hope for your error message to be more declarative if you could check the npm version. Thanks for your understanding ^^

moelzanaty3 commented 2 years ago

Dear

thanks for your message

will check it and update the error message in the next release

thanks for using the package stay safe ❤️