How does the IBM Bluemix upload application solve the “the filename or extension is too long” error?

  node.js, question

Upload application gzcailanzi …
Failure
Upload application:
mkdir C:\Users\ADMINI~1\AppData\Local\Temp\apps896017162\node_modules\mongoose\node_modules\bson\node_modules\bson-ext\node_modules\node-pre-gyp\ Node _ modules \ npmlog \ node _ modules \ gauge \ node _ modules \ lodash.pad \ node _ modules \ lodash. _ createpading \ node _ modules: the filename or extension is too long. error

Why do you want to upload node_modules? You should upload projects instead of project dependencies. bluemix should automatically help you download dependencies according to your package.json.


Add a. cfignore file and add files you don’t want to submit.
Please refer to thishttps://github.com/pmuellr/bluemix-private-packages