Giter Club home page Giter Club logo

Comments (2)

PierrickP avatar PierrickP commented on July 20, 2024

just tried without error.
npm install probably failed, check with npm ls and re-install with npm i

from multicycles.

graphcon avatar graphcon commented on July 20, 2024

Hi @PierrickP,

thank you for your answer. Yes, npm install failed because, npm i failed (see headline of this issue).
Running npm i multiple times also didn't help.
My guess is, there is at least one package you have installed globally on your machine but that package isn't in in the projects package.json.

Here another log

> [email protected] prepare D:\Sources\Node.js\multicycles
> npm run clean && npm run transpile


> [email protected] clean D:\Sources\Node.js\multicycles
> rm -rf providers/*/lib


> [email protected] transpile D:\Sources\Node.js\multicycles
> lerna exec --ignore '@multicycles/{api,front,developer}' -- babel src --optional runtime --out-dir lib --ignore "__tests__"

lerna info version 2.5.1
lerna info versioning independent
lerna info ignore '@multicycles/{api,front,developer}'
src doesn't exist
lerna ERR! exec Errored while executing 'babel src --optional runtime --out-dir lib --ignore __tests__' in '@multicycles/developer'
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: babel src --optional runtime --out-dir lib --ignore __tests__
lerna ERR!     at Promise.all.then.arr (D:\Sources\Node.js\multicycles\node_modules\execa\index.js:236:11)
lerna ERR!     at <anonymous>
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
Error: Error: Plugin/Preset files are not allowed to export objects, only functions. In D:\Sources\Node.js\multicycles\front\node_modules\babel-preset-stage-2\lib\index.js
    at D:\Sources\Node.js\multicycles\node_modules\@babel\cli\lib\babel\dir.js:143:22
    at D:\Sources\Node.js\multicycles\node_modules\@babel\cli\lib\babel\dir.js:106:23
    at D:\Sources\Node.js\multicycles\node_modules\@babel\cli\lib\babel\dir.js:78:23
    at D:\Sources\Node.js\multicycles\node_modules\@babel\cli\lib\babel\dir.js:40:23
    at D:\Sources\Node.js\multicycles\node_modules\@babel\cli\lib\babel\util.js:76:16
    at D:\Sources\Node.js\multicycles\node_modules\@babel\core\lib\transform-file.js:39:14
    at process._tickCallback (internal/process/next_tick.js:176:11)
    at Function.Module.runMain (internal/modules/cjs/loader.js:697:11)
    at startup (internal/bootstrap/node.js:201:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)
lerna ERR! exec Errored while executing 'babel src --optional runtime --out-dir lib --ignore __tests__' in '@multicycles/front'
πŸŽ‰  Successfully compiled 1 file with Babel.
πŸŽ‰  Successfully compiled 1 file with Babel.
(node:19988) UnhandledPromiseRejectionWarning: Error: Command failed: babel src --optional runtime --out-dir lib --ignore __tests__
    at Promise.all.then.arr (D:\Sources\Node.js\multicycles\node_modules\execa\index.js:236:11)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:182:7)
(node:19988) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)
(node:19988) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] transpile: `lerna exec --ignore '@multicycles/{api,front,developer}' -- babel src --optional runtime --out-dir lib --ignore "__tests__"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] transpile 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\raulp\AppData\Roaming\npm-cache\_logs\2018-10-03T15_10_04_053Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: `npm run clean && npm run transpile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare 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\raulp\AppData\Roaming\npm-cache\_logs\2018-10-03T15_10_04_103Z-debug.log

from multicycles.

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.