Git Product home page Git Product logo

Comments (15)

klarstil avatar klarstil commented on August 20, 2024 2

@moehrenzahn Awesome, thanks for your feedback. @LighthouseIVM provided me with the same feedback, so I created a PR in our internal systems with the change. It'll be in the repo soon :)

from platform.

klarstil avatar klarstil commented on August 20, 2024 1

We merged the changes on an internal feature branch which will be available shortly on here. Thanks for all the feedback and input. It's much appreciate.

I'll close the issue now.

from platform.

shyim avatar shyim commented on August 20, 2024

You need to do bin/console administration:dump:bundles before 🤔

from platform.

NiklasTeich avatar NiklasTeich commented on August 20, 2024

The bin/console administration:dump:bundles gives me a OK message (running it right before the installation), but the installation itself still fails ..

from platform.

Blur-Creative avatar Blur-Creative commented on August 20, 2024

a --unsafe-perm at npm clean-istall should fix it.
add it to the .sh script at the dev-ops dir.

https://github.com/shopware/development/blob/master/dev-ops/administration/actions/install-dependencies.sh

change to

npm clean-install --unsafe-perm --prefix vendor/shopware/platform/src/Administration/Resources/administration/

https://github.com/shopware/development/blob/master/dev-ops/storefront/actions/install-dependencies.sh

change to

npm --unsafe-perm --prefix vendor/shopware/platform/src/Storefront/Resources/ clean-install

then do the install again.
solved it for me

from platform.

NiklasTeich avatar NiklasTeich commented on August 20, 2024

Thanks for your ideas! It's better, but still crashes. Now, a missing Storefront.css instead of the Storefront.js throws an error ..

install css build failed

from platform.

PaddyS avatar PaddyS commented on August 20, 2024

Hey @NiklasTeich,

can you try this with Node Version 11?
You can use the Node version manager for this, quite easy to use.

from platform.

NiklasTeich avatar NiklasTeich commented on August 20, 2024

Hey @PaddyS!

I also tried the installation with downgraded versions of Node 11.9 und NPM 6.5, sadly without any further success ... 😢

from platform.

PaddyS avatar PaddyS commented on August 20, 2024

Hey @NiklasTeich,

we've had an equal issue a few minutes ago.
In this case, executing the following command fixed it:
npm rebuild node-sass

Can you try this and see if that fixes your issue?

from platform.

LighthouseIVM avatar LighthouseIVM commented on August 20, 2024

Hello,

we still have this issue and we tried everything that was mentioned here.... still not working.
Any other ideas ?

from platform.

janbuecker avatar janbuecker commented on August 20, 2024

@klarstil will keep an eye on this issue. :)

from platform.

LighthouseIVM avatar LighthouseIVM commented on August 20, 2024

Any updates yet ?

from platform.

klarstil avatar klarstil commented on August 20, 2024

Hey @LighthouseIVM

I took a quick look on the issue and it seems like a timing issue in our copy-after-build webpack plugin which causes the problem. I wasn't able to take a closer look on the issue yet and keep you updated when I have further information.

Best regards

from platform.

klarstil avatar klarstil commented on August 20, 2024

@LighthouseIVM I'm having a hard time to reproduce the issue on my local machine but I think I found the issue in the code related to the behavior described in this thread.

Would it be possible to test the following code and give us the results if the fix is working. Replace the content of the file platform/src/Administration/Resources/common/webpack-copy-after-build/index.jswith the following: https://gist.github.com/klarstil/1d329cb5ec3f341804b878d46ea25207

The issue was the usage of the read and write streams of Node.js. The previous stream wasn't ended before we tried to write a new file.

Any feedback is welcome here.

from platform.

moehrenzahn avatar moehrenzahn commented on August 20, 2024

Hi @klarstil, I just had this very issue when attempting a local installation on macOS, and replacing platform/src/Administration/Resources/common/webpack-copy-after-build/index.js with the content from your gist resolved my issue!

from platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.