Create bower_components and node_modules if needed on build#20
Open
medianick wants to merge 2 commits intoBlacklite:masterfrom
Open
Create bower_components and node_modules if needed on build#20medianick wants to merge 2 commits intoBlacklite:masterfrom
medianick wants to merge 2 commits intoBlacklite:masterfrom
Conversation
The WriteLinesToFile task used in bower.targets and node.targets fails if the bower_components or node_modules folders themselves don't exist. If any npm or bower packages have already been installed, it's not an issue, but on an initial install of these NuGet packages (before npm or bower are used), the solution won't build properly.
Author
|
The AppVeyor failure doesn't appear to have anything to do with my commit; it's raising errors like "Cannot find module 'lodash.padright' " |
With a fresh install, before npm init has been run (or anything else that creates package.json), a project to which NCapsulate.Node has been added will fail to build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The WriteLinesToFile task used in bower.targets and node.targets fails
if the bower_components or node_modules folders themselves don't exist.
If any npm or bower packages have already been installed, it's not an
issue, but on an initial install of these NuGet packages (before npm or
bower are used), the solution won't build properly.