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

[macos] @rnv/template-starter@1.0.0-canary.7 doesn't work on macos #1209

Open
GabrieleKaceviciute opened this issue Oct 25, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@GabrieleKaceviciute
Copy link
Collaborator

Describe the bug
@rnv/template-starter@1.0.0-canary.7 doesn't work on macos

To Reproduce

  1. Install rnv@1.0.0-canary.7 with npm globally
  2. Create new project with rnv new and choose rnv/template-starter version 1.0.0-canary.7
  3. do npx rnv run -p macos

Screenshots or copy&paste

│  $ npx rnv run -p macos                                                      │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-canary.7                                            │
│  Project Name ($package.name): second                                        │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): macos                                                        │
│  Engine ($.platforms.macos.engine): engine-rn-electron                       │
│  Template: @rnv/template-starter@1.0.0-canary.7                              │
│  App Config (-c): app                                                        │
│  Build Scheme (-s): debug                                                    │
│  Supported Platforms: macos                                                  │
│  Env Info: darwin | x64 | node v18.14.2                                      │
│  Executed Time: 0h:0m:0s:200ms                                               │
│                                                                              │
│  All good as 🦄                                                              │
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/app_macos                                                  │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] [run] _runWebDevServer[1]
[ task ] [run] parsePlugins[4]
Error: Cannot find module 'babel-loader'
Require stack:
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/lib/config/webpack.config.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/lib/scripts/start.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/lib/index.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-tizen/lib/runner.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-tizen/lib/index.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/engine-core/lib/common.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/engine-core/lib/tasks/task.rnv.platform.configure.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/engine-core/lib/index.js
- /Users/gabriele/Desktop/tests/second/node_modules/rnv/lib/runner.js
- /Users/gabriele/Desktop/tests/second/node_modules/rnv/lib/index.js
- /Users/gabriele/Desktop/tests/second/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/tests/second/node_modules/rnv/bin/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Function.resolve (node:internal/modules/cjs/helpers:116:19)
    at module.exports (/Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/src/config/webpack.config.js:389:45)
    at /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/src/scripts/start.js:56:24
    at new Promise (<anonymous>)
    at /Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/src/scripts/start.js:30:5
    at step (/Users/gabriele/Desktop/tests/second/node_modules/tslib/tslib.js:195:27)
    at Object.next (/Users/gabriele/Desktop/tests/second/node_modules/tslib/tslib.js:176:57)
    at /Users/gabriele/Desktop/tests/second/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/lib/config/webpack.config.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/lib/scripts/start.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-webpack/lib/index.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-tizen/lib/runner.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/sdk-tizen/lib/index.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/engine-core/lib/common.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/engine-core/lib/tasks/task.rnv.platform.configure.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/engine-core/lib/index.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/rnv/lib/runner.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/rnv/lib/index.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/@rnv/cli/lib/index.js',
    '/Users/gabriele/Desktop/tests/second/node_modules/rnv/bin/index.js'
  ]
}

 $ npx rnv run -p macos - Done! 🚀
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 10/25/2023, 6:08:08 PM                                        │
│  $ npx rnv run -p macos                                                      │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-canary.7                                            │
│  Project Name ($package.name): second                                        │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): macos                                                        │
│  Engine ($.platforms.macos.engine): engine-rn-electron                       │
│  Template: @rnv/template-starter@1.0.0-canary.7                              │
│  App Config (-c): app                                                        │
│  Build Scheme (-s): debug                                                    │
│  Supported Platforms: macos                                                  │
│  Env Info: darwin | x64 | node v18.14.2                                      │
│  Executed Time: 0h:0m:1s:255ms                                               │
│                                                                              │
│  All good as 🦄                                                              │
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/app_macos                                                  │
└──────────────────────────────────────────────────────────────────────────────┘
➜  ~/Desktop/tests/second

Desktop (please complete the following information):

  • OS: macOS Ventura 13.5.2
  • Node Version 18.14.2
  • RNV Version 1.0.0-canary.7
@GabrieleKaceviciute GabrieleKaceviciute added the bug Something isn't working label Oct 25, 2023
@ElenaDiachenko ElenaDiachenko self-assigned this Oct 26, 2023
@pavjacko pavjacko added this to the 1.0 milestone Nov 24, 2023
@pauliusguzas
Copy link
Collaborator

1.0.0-rc-6 fails with #1133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants