Skip to content

Create bower_components and node_modules if needed on build#20

Open
medianick wants to merge 2 commits intoBlacklite:masterfrom
medianick:master
Open

Create bower_components and node_modules if needed on build#20
medianick wants to merge 2 commits intoBlacklite:masterfrom
medianick:master

Conversation

@medianick
Copy link

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.

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.
@medianick
Copy link
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant