Open marklreyes opened 4 years ago
Did you ever find a solution to this? I too am having this issue.
Sorry, @lancegiles I did not. I can only speculate that it happens when trying Gulp scripts with Windows machine. I couldn't afford any more time to hammer through this problem so I pivoted to running builds in OSX. I swayed in this direction based on some comments from people who replied to me on StackOverflow. So far so good with that choice.
Understood and thanks! I've sunk 2 full days into this so far so I may be headed in that direction too!
Yes, that's too much time to invest. Cease fire and build from OSX. You'll have to modify the start
command. Recall, OSX uses cp
not copy
.
Appreciate the tip!
Holy crap I found it! So in my case one of my folders had a space in it like this "MelissaG Photos" When the gulp tried to process the text it replaced that with a %20 inside the filepath. I then received the error.
Removing that space solved the problem and allowed the bundle to go through!
What node module had that?
it was the 'plugin-text'
Looks like someone else fell through this same problem too - however, no solution. See Github Issue #5.
I also placed this issue on StackOverflow as well.
A specific set of GulpJS errors are surfacing when trying to build out an Angular 4 Web App with SystemJS.
What's odd is that usually this build script works. There were no edits to the GulpJS or SystemJS file. I'm curious if something in the node/npm ecosystem changes this assumption. At any rate, your thoughts on a fix would be appreciated.
My Windows 10 machine is currently installed with Node version 10.14.0 and npm version of 6.9.0.
When executing
npm run build:dev
The errors from Gulp show in the terminal as:To be clear, the above file being
main.js
does truly exist in the file system.Gulp continues, and the remainder of the build completes. But when testing out the final build, the app doesn't load and this asset is missing from the final build:
Noticeably missing from the final build artifact:
app/assets/js/app/app.js
gulpfile.js:
system.config.js:
angular 4 package.json: