Comments (7)
oh!! I understand.
Since php-web-cnb and npm-cnb have the same value processes-> type = web
written in launch.toml, Thats' why When php-web-cnb is executed after npm-cnb, npm start
is overwritten and not executed
https://github.com/cloudfoundry/npm-cnb/blob/master/modules/modules.go#L97
https://github.com/cloudfoundry/php-web-cnb/blob/master/phpweb/contributor.go#L173
Thank you for your answer!
from npm-install.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/168022847
The labels on this github issue will be updated when the story is started.
from npm-install.
So in this case, npm-cnb would just be used for compiling the frontend app, served by php backend?
from npm-install.
You are right.
In this case, only javascript library install to node_modules
by npm .
from npm-install.
You should be able to specify the buildpacks you want to run as an argument to pack ie something like pack build --buildpacks=org.cloudfoundry.node-engine,org.cloudfoundry.npm,org.cloudfoundry.php-web,org.cloudfoundry.nginx
from npm-install.
What'll happen in that case is that npm insstall will occur, and then later cnbs will provide app start commands.
from npm-install.
from npm-install.
Related Issues (20)
- Implement RFC0044: Disable SBOM
- Different run-image and build-image users causing runtime failure HOT 2
- Failure: Create Draft Release workflow HOT 1
- Chmod fails when running as non-root user HOT 3
- Support Jammy Jellyfish
- A project with cached dependencies fails to start on subsequent builds HOT 2
- Failure: Create Draft Release workflow HOT 50
- Restarting o Docker Container results in errors executing the symlink script.
- Enable Debug Logging
- Build fails when `npm-cache` is supplied beforehand
- Failure: Go get update workflow HOT 3
- /tmp/node_modules directory is missing during run time HOT 5
- Project with a linked module fails with "Module not found" HOT 1
- build fails when using npm workspaces and `node_modules` is required during build and launch HOT 6
- Failure: Approve bot PR workflow HOT 1
- Locally installed packages not loading on container start
- Failure: Update GitHub config workflow
- Anchore Go Library - Vulnerabilities
- npm install is not installing devDependencies HOT 2
- Always overriding NODE_ENV with development HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-install.