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

Client build broken #14

Closed
scottwittenburg opened this issue Jul 29, 2020 · 5 comments · Fixed by #15
Closed

Client build broken #14

scottwittenburg opened this issue Jul 29, 2020 · 5 comments · Fixed by #15

Comments

@scottwittenburg
Copy link
Collaborator

Following the developer setup instructions, the step building the client application (npm run serve) fails with a bunch of errors like the following:

 error  in ./src/App.vue?vue&type=style&index=0&lang=scss&

Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Cannot find module 'node-sass'
Require stack:
- /Users/scott/projects/miqa/miqa/client/node_modules/sass-loader/lib/loader.js
- /Users/scott/projects/miqa/miqa/client/node_modules/loader-runner/lib/loadLoader.js
- /Users/scott/projects/miqa/miqa/client/node_modules/loader-runner/lib/LoaderRunner.js
- /Users/scott/projects/miqa/miqa/client/node_modules/webpack/lib/NormalModule.js
- /Users/scott/projects/miqa/miqa/client/node_modules/webpack/lib/NormalModuleFactory.js
- /Users/scott/projects/miqa/miqa/client/node_modules/webpack/lib/Compiler.js
- /Users/scott/projects/miqa/miqa/client/node_modules/webpack/lib/webpack.js
- /Users/scott/projects/miqa/miqa/client/vue.config.js
- /Users/scott/projects/miqa/miqa/client/node_modules/@vue/cli-service/lib/Service.js
- /Users/scott/projects/miqa/miqa/client/node_modules/@vue/cli-service/bin/vue-cli-service.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
    at Function.Module._load (internal/modules/cjs/loader.js:864:27)
    at Module.require (internal/modules/cjs/loader.js:1044:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.sassLoader (/Users/scott/projects/miqa/miqa/client/node_modules/sass-loader/lib/loader.js:46:72)

 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=scss& 4:14-415 14:3-18:5 15:22-423
 @ ./src/App.vue?vue&type=style&index=0&lang=scss&
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8081/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

Complete error log attached.

client-build-error.txt

@scottwittenburg
Copy link
Collaborator Author

@aashish24 @thewtex Seems I need more permission in order to be able to assign issues to myself on this repository. Can one of you make me part of "write access", "admin access", or "owners" team on this organization? According to this SO, that would do the trick.

scottwittenburg added a commit to scottwittenburg/miqa that referenced this issue Jul 29, 2020
The previous package lock did not match the required packages and
prevented, e.g., node-sass from being installed.

Fixes OpenImaging#14
@thewtex
Copy link
Collaborator

thewtex commented Jul 29, 2020

@scottwittenburg according to the Collaborators section, you have Admin access, but have not yet accepted the invitation to the repository (there should be an email in your inbox).

@scottwittenburg
Copy link
Collaborator Author

@scottwittenburg according to the Collaborators section, you have Admin access, but have not yet accepted the invitation to the repository (there should be an email in your inbox).

Whoops, you're right, there was an invitation in my inbox. When I received it, I just followed the link to the repo instead of viewing the invitation. Now, unfortunately, it has expired, sorry. Can it be resent or refreshed or something?

@thewtex
Copy link
Collaborator

thewtex commented Jul 29, 2020

@scottwittenburg 👍 resent

@scottwittenburg
Copy link
Collaborator Author

@scottwittenburg 👍 resent

Thanks I accepted it this time.

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 a pull request may close this issue.

2 participants