Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

npm install problem


I'm trying to install the laravel template on my server and when I run "npm install" I have this error.

pandoras@cloud502 starterkit]$ npm install
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1218 packages, and audited 1426 packages in 3m

180 packages are looking for funding
run `npm fund` for details

44 vulnerabilities (40 moderate, 4 high)

To address issues that do not require attention, run:
npm audit fix

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.6.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.6.0
npm notice Run npm install -g npm@10.6.0 to update!
npm notice
[pandoras@cloud502 starterkit]$ npm run dev

> dev
> npm run development


> development
> mix


● Mix █████████████████████████ done (99%)
plugins

[webpack-cli] [Error: ENOENT: no such file or directory, open '/home/pandoras/fleetmanager/starterkit/node_modules/@yaireo/tagify/dist/tagify.min.js'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/pandoras/fleetmanager/starterkit/node_modules/@yaireo/tagify/dist/tagify.min.js'
}


How I can resolve this?


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


Hi Cires mihai

There might be a mismatch in versions between package dependencies. Try the following steps to resolve the issue:

1. Remove the `node_modules` folder.
2. Delete the `yarn.lock` or `package-lock.json` files if they exist.
3. Run `npm install` to reinstall the dependencies.

These steps can help ensure that your dependencies are installed correctly and that no version conflicts are causing the problem.



I have the same issue and following these steps did not help.

1. Remove the `node_modules` folder.
2. Delete the `yarn.lock` or `package-lock.json` files if they exist.
3. Run `npm install` to reinstall the dependencies.


Error takes place when running npm run dev

[webpack-cli] [Error: ENOENT: no such file or directory, open '/Users/DennisWang/Developments/UTD/AstroOne/node_modules/@yaireo/tagify/dist/tagify.min.js'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/DennisWang/Developments/UTD/AstroOne/node_modules/@yaireo/tagify/dist/tagify.min.js'
}



I solved the problem installing yaireo version 3.19.3



just replace in resources/mix/plugins.js:

'node_modules/@yaireo/tagify/dist/tagify.min.js',

with

'node_modules/@yaireo/tagify/dist/tagify.js',

then recompile.

the problem is that tagify.min.js is no longer there after 3.19, that will fix the issue

no need to downgrade you can keep using "@yaireo/tagify": "^4.22.2",



Thank you for sharing your solution. It appears that there might have been an issue with the latest version. We'll look into this further and fix it.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(