Open tarex opened 9 years ago
@tarex the build is failing with:
[00:20:01] Starting 'shrinkwrap'...
Unhandled rejection Error: Problems were encountered
Please correct and try again.
missing: react-autosuggest@^1.9.0, required by project-assets@0.0.0
at shrinkwrap_ (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/lib/shrinkwrap.js:31:15)
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/lib/shrinkwrap.js:25:5
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/lib/ls.js:47:30
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:138:5
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
at cb (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
at cb (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
at cb (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
at cb (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
at cb (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
at /home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/read-installed/read-installed.js:251:14
at cb (/home/ubuntu/vyllage/assets/node_modules/gulp-shrinkwrap/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
it should fixed now .
Still doesn't close #1182.
Instead, the user has to press Enter
again after clicking the autocomplete suggestion.
removed #1182 @nelonoel check now
@tarex please check why npm test
fails.
The tests are failing, for some reason it's sending 'user' instead of the userId in one of the tests, or at least that's what looks like to me.
Edit: Actually, it seems the userId is missing in the test url, it should be
"/document/user/{userId}/document-type/RESUME"
INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket F1Z33qMw04unve0xd7nn with id 68314928
PhantomJS 1.9.8 (Linux 0.0.0) ERROR
SyntaxError: Parse error
at /home/ubuntu/vyllage/assets/src/components/resume/test/editor.test.jsx:60692
WARN [web-server]: 404: /document/user/document-type/RESUME
WARN [web-server]: 404: /document/user/document-type/RESUME
npm ERR! Test failed. See above for more details.
npm ERR! Test failed. See above for more details.
i'm not sure why its failing , haven't found anything that related to it in editor test .
This often happens to me before. I tried commenting out editor.test.jsx
and it showed an error at tags.test.jsx
. Editor is the parent component so it stops parsing when a blocking error occurs in there so you really have to dig deeper. Kindly check the tags component. :)
Closes #1181