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:
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?
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.
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",
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'
}
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.