Hi again, thanks for the quick reply - much appreciated ![]()
All right, thanks, will double check that.
Well, you have to excuse my “stupidity” here, but I’m completely new to all this, and I’m kind of out of my depth here in regards to this.
I have no idea why I have the tar file - is my honest answer.
But, suddenly, when I was going to open my strapi project yesterday, I ran the run develop command, and it will not open the project, just returns this error:
strapi develop
Building your admin UI with development configuration …
TypeError: The ‘compilation’ argument must be an instance of Compilation
at Function.getCompilationHooks (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\webpack\lib\NormalModule.js:203:10)
at C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\mini-css-extract-plugin\dist\index.js:394:103
at SyncHook.eval [as call] (eval at create (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\HookCodeFactory.js:19:10),
:11:1)
at SyncHook.lazyCompileHook (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.newCompilation (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:631:
26)
at C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:667:29
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\HookCodeFactor
y.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.compile (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:662:28)
at C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:321:11
at Compiler.readRecords (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:529:11)
at C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:318:10
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\HookCodeFactor
y.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\strapi-admin\node_modules\webpack\lib\Compiler.js:315:19
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\aneth\OneDrive\FEU 2021\Exam Osebro Antique Book Store\osebro-antikvariat\node_modules\tapable\lib\HookCodeFactor
y.js:33:10), :15:1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! osebro-antikvariat@0.1.0 develop: strapi develop
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the osebro-antikvariat@0.1.0 develop script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
And then, if I run npm audit, it gives me this:
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
Moderate Regular expression denial of service
Package glob-parent
Patched in >=5.1.2
Dependency of strapi-admin
Path strapi-admin > webpack > watchpack > watchpack-chokidar2 >
chokidar > glob-parent
Moderate Regular expression denial of service
Package glob-parent
Patched in >=5.1.2
Dependency of strapi-admin
Path strapi-admin > webpack-dev-server > chokidar > glob-parent
High Arbitrary File Creation/Overwrite via insufficient symlink
protection due to directory cache poisoning using symbolic
links
Package tar
Patched in >=4.4.16 <5.0.0 || >=5.0.8 <6.0.0 || >=6.1.7
Dependency of strapi
Path strapi > strapi-generate-new > tar
High Arbitrary File Creation/Overwrite via insufficient symlink
protection due to directory cache poisoning using symbolic
links
Package tar
Patched in >=4.4.16 <5.0.0 || >=5.0.8 <6.0.0 || >=6.1.7
Dependency of strapi-generate-new
Path strapi-generate-new > tar
High Arbitrary File Creation/Overwrite via insufficient symlink
protection due to directory cache poisoning using symbolic
links
Package tar
Patched in >=4.4.18 <5.0.0 || >=5.0.10 <6.0.0 || >=6.1.9
Dependency of strapi
Path strapi > strapi-generate-new > tar
High Arbitrary File Creation/Overwrite via insufficient symlink
protection due to directory cache poisoning using symbolic
links
Package tar
Patched in >=4.4.18 <5.0.0 || >=5.0.10 <6.0.0 || >=6.1.9
Dependency of strapi-generate-new
Path strapi-generate-new > tar
High Arbitrary File Creation/Overwrite on Windows via
insufficient relative path sanitization
Package tar
Patched in >=4.4.18 <5.0.0 || >=5.0.10 <6.0.0 || >=6.1.9
Dependency of strapi
Path strapi > strapi-generate-new > tar
High Arbitrary File Creation/Overwrite on Windows via
insufficient relative path sanitization
Package tar
Patched in >=4.4.18 <5.0.0 || >=5.0.10 <6.0.0 || >=6.1.9
Dependency of strapi-generate-new
Path strapi-generate-new > tar
found 8 vulnerabilities (2 moderate, 6 high) in 1722 scanned packages
8 vulnerabilities require manual review. See the full report for details.
So, I tried installing the latest version of tar (as I though that would be the right thing to do…) and the version is updated in my project, but not in the strapi-generate-new package - which as far as I can understand is the reason for the errors above?