Skip to content

Unable to run this project #41

Description

@schandra09net

These are the steps I have tried to run this solution:

  1. npm update -g npm@latest
  2. npm install
  3. npm i @syncit/ui @syncit/transporter
  4. npm i lerna
  5. npx lerna run build

Getting errors, please suggest.

C:\Users\DOM\Downloads\syncit-master>npx lerna run build
lerna notice cli v3.22.1
lerna info Executing command in 3 packages: "yarn run build"
lerna info run Ran npm script 'build' in '@syncit/core' in 4.7s:
yarn run v1.22.17
$ rollup --config
Done in 4.49s.
lerna ERR! yarn run build exited 1 in '@syncit/ui'
lerna ERR! yarn run build stdout:
yarn run v1.22.17
$ rollup -c
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run build stderr:
warning package.json: No license field
[!] Error: Package subpath './compiler.js' is not defined by "exports" in C:\Users\DOM\Downloads\syncit-master\node_modules\svelte\package.json
Error: Package subpath './compiler.js' is not defined by "exports" in C:\Users\DOM\Downloads\syncit-master\node_modules\svelte\package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:453:9)
at packageExportsResolve (node:internal/modules/esm/resolve:729:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (C:\Users\DOM\Downloads\syncit-master\node_modules\rollup-plugin-svelte\index.js:11:4)

error Command failed with exit code 1.

lerna ERR! yarn run build exited 1 in '@syncit/ui'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions