No Code Attached Yet
avatar Krshivam25
Krshivam25
15 Nov 2021

I have install npm package using npm run command and added the dependency in settings.json file but this error is coming
npm ci

avatar Krshivam25 Krshivam25 - open - 15 Nov 2021
avatar joomla-cms-bot joomla-cms-bot - change - 15 Nov 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Nov 2021
avatar brianteeman
brianteeman - comment - 15 Nov 2021

and did you do what the error message says?

avatar Krshivam25
Krshivam25 - comment - 15 Nov 2021

I run npm install the package.lock.json get loaded with 10000+ lines

avatar brianteeman
brianteeman - comment - 15 Nov 2021

and do you then get that error message?

avatar brianteeman
brianteeman - comment - 15 Nov 2021

Adding "mousetrap": "^1.6.5", to package.json and then npm install completed successfully for me.

Whatever the problem is thaty you are facing it is nothing to do with joomla and all to do with your own npm installation

avatar Krshivam25
Krshivam25 - comment - 16 Nov 2021

@brianteeman can you please share where you added the npm packages inside the settings.json file

avatar brianteeman
brianteeman - comment - 16 Nov 2021

oh boy you have a lot of mistakes there. always try to learn from the example of other similar sections of the code. that is what I do.

image

avatar Krshivam25
Krshivam25 - comment - 16 Nov 2021

This is resolved thank you so much for this.

avatar Krshivam25 Krshivam25 - change - 16 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-16 10:13:04
Closed_By Krshivam25
avatar Krshivam25 Krshivam25 - close - 16 Nov 2021

Add a Comment

Login with GitHub to post a comment