Giter Site home page Giter Site logo

Comments (9)

pokvoja avatar pokvoja commented on September 7, 2024

might be related to:
webpack/webpack-dev-server#2029

from chooser.

akmadian avatar akmadian commented on September 7, 2024

Hey @pokvoja, please provide the npm log that was generated. A pastebin link or something similar to that would be best :)

from chooser.

pokvoja avatar pokvoja commented on September 7, 2024

sorry if forgot about that!

its small enough for gitlab:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]~predev: [email protected]
6 info lifecycle [email protected]~dev: [email protected]
7 verbose lifecycle [email protected]~dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/projects/cc-chooser/node_modules/.bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
9 verbose lifecycle [email protected]~dev: CWD: /home/user/projects/cc-chooser
10 silly lifecycle [email protected]~dev: Args: [
10 silly lifecycle   '-c',
10 silly lifecycle   'webpack-dev-server --inline --progress --config build/webpack.dev.conf.js'
10 silly lifecycle ]
11 silly lifecycle [email protected]~dev: Returned: code: 1  signal: null
12 info lifecycle [email protected]~dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:210:5)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:210:5)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/user/projects/cc-chooser
16 verbose Linux 4.15.0-58-generic
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
18 verbose node v12.13.0
19 verbose npm  v6.12.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

from chooser.

akmadian avatar akmadian commented on September 7, 2024

Try updating all webpack related packages to their latest versions and try again? Particularly webpack, and webpack-dev-server

from chooser.

akmadian avatar akmadian commented on September 7, 2024

@pokvoja I'm assuming since you've opened a PR, you fixed this issue? If so, what was the solution?

from chooser.

onyijne avatar onyijne commented on September 7, 2024

Getting the same error, and it appears to be deprecated issues.
Would it be out of place if I suggest we migrate cc-chooser to a vue-cli project?

from chooser.

obulat avatar obulat commented on September 7, 2024

I can reproduce this issue, and unfortunately, after trying to solve it (by updating everything related to webpack and trying other possible steps) I had to go back to commit 48bd00b.
I've also read that sometimes the problem shows up on Linux and Windows machines, but not on MacOS.

from chooser.

akmadian avatar akmadian commented on September 7, 2024

Could not reproduce.

  • OS: Windows 10 Pro 1809 17763.914 64 bit
  • Node: v10.15.3
  • npm: v6.4.1

@obulat please post your os, node, and npm info in this thread. Let's narrow it down :) not sure if this will be relevant once we transition to vue3-cli, though.

from chooser.

obulat avatar obulat commented on September 7, 2024

My details are:

  • OS: Windows 10 Home edition 1903 18362.535 64 bit
  • node: v13.3.0
  • npm: v. 6.4.1

Is it because of the Node version? It might also be due to the global Webpack version, but I've already uninstalled it

from chooser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.