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

PadLevels issue #1475

Closed
Peltoche opened this issue Oct 20, 2022 · 7 comments
Closed

PadLevels issue #1475

Peltoche opened this issue Oct 20, 2022 · 7 comments

Comments

@Peltoche
Copy link

I try to create a app with the following command: yarn create cozy-app some-app and the script hung up with the following message:

Question: Your app slug?  (dailyclip) (node:448911) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)

Node js version: v16.16.0

@Peltoche
Copy link
Author

A possible solution: foreversd/forever#1077 (comment)

@Crash--
Copy link
Contributor

Crash-- commented Oct 21, 2022

The warning is not blocking. You're asked to write the "slug" (technical name you'll see in the URL) of your application and then press enter.

But

yarn create cozy-app some-app2
yarn create v1.22.18
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "@cozy/codemods > jscodeshift@0.11.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "cozy-logger@>1.7.0".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "cozy-ui@>34.0.0".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "react@^16.7.0".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "react-native@^0.65.0".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "react-native-google-safetynet@npm:cozy-react-native-google-safetynet@^1.0.0".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "react-native-inappbrowser-reborn@^3.5.1".
warning "cozy-ach > cozy-client@29.2.0" has unmet peer dependency "react-native-ios11-devicecheck@https://github.com/cozy/react-native-devicecheck#app-attest-v0.1".
warning "cozy-ach > cozy-client-js@0.15.1" has unmet peer dependency "babel-polyfill@^6.26.0".
warning "cozy-ach > cozy-flags@2.9.0" has unmet peer dependency "react@^16.12.0".
warning "cozy-ach > cozy-client > react-redux@7.2.8" has unmet peer dependency "react@^16.8.3 || ^17 || ^18".
[4/4] 🔨  Building fresh packages...
success Installed "create-cozy-app@1.15.2" with binaries:
      - create-cozy-app
Creating Cozy application in /Users/quentinvalmori/Sites/some-app2...


✔ cozy-scripts installed.

Starting the application some-app2 bootstrap

Question: Your app slug?  (some-app2) (node:1230) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
test
Question: Your app full name?  (Some app2) test
Question: The Github project slug?  (some-app2) test
Question: Your github username?  test

Building files...

Copying in /Users/quentinvalmori/Sites/some-app2
.editorconfig copied.
.eslintrc.json copied.
.github copied.
.stylintrc copied.
LICENSE copied.
babel.config.js copied.
.gitignore copied.
jest.config.js copied.
renovate.json copied.
src copied.
test copied.
package.json copied.
manifest.webapp copied.
manifest.json copied.
README.md copied.
CONTRIBUTING.md copied.
.travis.yml copied.

Installing app dependencies using Yarn...
(May take a while)



warning react-router-dom > react-router > mini-create-react-context@0.4.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning cozy-bar > cozy-ui > react-select > memoize-one@4.1.0: New custom equality api does not play well with all equality helpers. Please use v5.x
warning cozy-bar > lerna-changelog > make-fetch-happen > node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now
warning cozy-bar > lerna-changelog > cli-highlight > highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
warning eslint > file-entry-cache > flat-cache > circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
warning " > cozy-client@24.0.0" has unmet peer dependency "react-native@^0.64.1".
warning " > cozy-client@24.0.0" has unmet peer dependency "react-native-inappbrowser-reborn@^3.5.1".
warning "cozy-scripts > eslint-plugin-prettier@3.1.2" has unmet peer dependency "prettier@>= 1.13.0".
warning " > cozy-ui@51.5.1" has unmet peer dependency "cozy-device-helper@^1.10.0".
warning " > cozy-ui@51.5.1" has unmet peer dependency "cozy-doctypes@^1.69.0".
warning " > cozy-ui@51.5.1" has unmet peer dependency "piwik-react-router@^0.8.2".
warning " > cozy-ui@51.5.1" has unmet peer dependency "puppeteer@^1.20.0".
warning "cozy-ui > react-pdf > pdfjs-dist@2.1.266" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0".
warning "cozy-ui > react-pdf > pdfjs-dist > worker-loader@2.0.0" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0".
warning "cozy-ui > react-select > @emotion/react > @emotion/babel-plugin@11.10.2" has unmet peer dependency "@babel/core@^7.0.0".
warning "cozy-bar > cozy-ui@35.22.0" has incorrect peer dependency "@material-ui/core@3.9.4".
warning "cozy-bar > cozy-ui@35.22.0" has incorrect peer dependency "cozy-device-helper@1.7.5".
warning "cozy-bar > cozy-ui@35.22.0" has unmet peer dependency "cozy-doctypes@^1.69.0".
warning "cozy-bar > cozy-ui@35.22.0" has incorrect peer dependency "piwik-react-router@^0.8.2".
warning "cozy-bar > cozy-ui@35.22.0" has unmet peer dependency "preact@^8.3.1".
warning "cozy-bar > cozy-ui@35.22.0" has unmet peer dependency "preact-portal@^1.1.3".
warning "cozy-bar > cozy-ui@35.22.0" has unmet peer dependency "puppeteer@1.20.0".
warning "cozy-bar > cozy-client@13.8.3" has incorrect peer dependency "cozy-ui@^34.0.0".
warning "cozy-bar > piwik-react-router@0.12.1" has unmet peer dependency "history@^3.0.0 || ^4.0.0".

App dependencies installed.

Great! Your application test is ready! \o/. Enjoy it!
You can also create an `app.config.js` file if you want to customize the webpack configuration.

Next steps:
  $ cd some-app2
  $ yarn start
✨  Done in 92.42s.

@Peltoche
Copy link
Author

On my side I never see the end after the warning so I was supposing that it was the issue

@Crash--
Copy link
Contributor

Crash-- commented Oct 21, 2022

So after enter the "slug" of your application, have you been able to create your app? Or is it still stuck somewhere? Get errors? If yes, can you share with tus the errors?

@Peltoche
Copy link
Author

I'm stuck after the warning, nothing move for minutes.

@Crash--
Copy link
Contributor

Crash-- commented Oct 24, 2022

Even after entering the slug of your application and pressed enter? 🤔 The warning is messing up the page layout and it's not clear anymore that you have to write it and then press enter...

@Peltoche
Copy link
Author

Damn!!!!!!!

I juste understood that it wait for an input indeed 🤦 🤦 🤦 . I didn't understood well you first comment about the slug and I didn't understood correctly the slug question from the CLI. I was thinking it was part of the warning indeed.

So everything works well except this warning...

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

No branches or pull requests

2 participants