Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build:scripts:server fails to copy server.js to public/ #1410

Closed
n8rzz opened this issue Jul 13, 2019 · 1 comment · Fixed by #1415
Closed

build:scripts:server fails to copy server.js to public/ #1410

n8rzz opened this issue Jul 13, 2019 · 1 comment · Fixed by #1415
Assignees
Labels
devops About developer tools has pull request Add this label when an issue has a PR which will resolve it
Milestone

Comments

@n8rzz
Copy link
Member

n8rzz commented Jul 13, 2019

running npm run build fails to copy server/index.js to the destination directory

@n8rzz n8rzz self-assigned this Jul 13, 2019
@n8rzz n8rzz added the devops About developer tools label Jul 13, 2019
@n8rzz n8rzz added this to the v6.15.0 milestone Jul 13, 2019
@n8rzz n8rzz mentioned this issue Jul 13, 2019
@n8rzz n8rzz added the has pull request Add this label when an issue has a PR which will resolve it label Jul 13, 2019
@wrksx
Copy link
Contributor

wrksx commented Aug 6, 2019

Waiting for PR#1410, if anyone needs the fix for this, change tools/tasks/scriptTasks.js:36 to this

const buildServer = () => gulp.src('**/*.js', {cwd: OPTIONS.DIR.SRC_SCRIPTS_SERVER})

Instead of

const buildServer = () => gulp.src([path.join(OPTIONS.DIR.SRC_SCRIPTS_SERVER, '**/*.js')])

Worked for me on windows 8.1 (using cygwin).

(edit: fix typo Wainting/Waiting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops About developer tools has pull request Add this label when an issue has a PR which will resolve it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants