Giter VIP home page Giter VIP logo

Comments (6)

grickov avatar grickov commented on May 28, 2024 2

Thanks a lot, it helped. Didn't think about version 7 )).
Stood npm v6.14.11

from destack.

iojcde avatar iojcde commented on May 28, 2024

No, this isn't how you're supposed to do it. You should only run npm install from the project root directory. Npm will automatically link the dependencies for the workspaces.

from destack.

iojcde avatar iojcde commented on May 28, 2024

This is because we are utilizing npm workspaces in order to not have duplicate packages in the same folder.

Yarn workspaces are not compatible with this yet.

from destack.

grickov avatar grickov commented on May 28, 2024
  1. git clone https://github.com/LiveDuo/destack and cd in "destack"
  2. npm i
  3. npm run dev

Errors from the terminal

`> [email protected] dev C:\sites\destack\destack

concurrently -k "cd lib/destack && npm run dev" "cd dev/nextjs-project && npm run dev"

[0]
[0] > [email protected] dev C:\sites\destack\destack\lib\destack
[0] > rollup -c -w
[0]
[0] "rollup" �� ���� ����७��� ��� ���譥�
[0] ��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! errno 1
[0] npm ERR! [email protected] dev: rollup -c -w
[0] npm ERR! Exit status 1
[0] npm ERR!
[0] npm ERR! Failed at the [email protected] dev script.
[0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[0] npm WARN Local package.json exists, but node_modules missing, did you mean to install?
[0]
[0] npm ERR! A complete log of this run can be found in:
[0] npm ERR! C:\Users\Админ\AppData\Roaming\npm-cache_logs\2021-06-20T08_46_12_030Z-debug.log
[1]
[1] > [email protected] dev C:\sites\destack\destack\dev\nextjs-project
[1] > next dev
[1]
[0] cd lib/destack && npm run dev exited with code 1
--> Sending SIGTERM to other processes..
[1] "next" �� ���� ����७��� ��� ���譥�
[1] ��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] dev: next dev
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] dev script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1] npm WARN Local package.json exists, but node_modules missing, did you mean to install?
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\Админ\AppData\Roaming\npm-cache_logs\2021-06-20T08_46_12_095Z-debug.log
[1] cd dev/nextjs-project && npm run dev exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: concurrently -k "cd lib/destack && npm run dev" "cd dev/nextjs-project && npm run dev"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Админ\AppData\Roaming\npm-cache_logs\2021-06-20T08_46_12_178Z-debug.log`

I'm missing something? ))

from destack.

iojcde avatar iojcde commented on May 28, 2024

Try re-running the steps after deleting everything please.

from destack.

LiveDuo avatar LiveDuo commented on May 28, 2024

@grickov What version of npm are you using? You will need to have npm version 7 or newer that supports workspaces.

from destack.

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.