TheComputerM / svelte-materialify

A Material UI Design Component library for Svelte heavily inspired by vuetify.
https://svelte-materialify.vercel.app
MIT License
622 stars 83 forks source link

#229 & #230 #237

Closed vladblindu closed 3 years ago

vladblindu commented 3 years ago

And again

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/thecomputerm/svelte-materialify/F5BUoCpTcSe7KUo1n2VByz3F9NJx
✅ Preview: Failed

vladblindu commented 3 years ago

I'm giving up. I can't understand what am I doing wrong. At this point, I'm not sure I'm doing anything wrong. I tried 3 times. Forked, changed the master branche, made a pull request Please give me some instruction. Vercel info about the failure is still 404. The problem is that I am using the library in an actual project, and without this fixes everything blows up. Please help!

TheComputerM commented 3 years ago

Let me try to help: 1) I think this change can be made on your project without changing the core of svelte-materialify, just create a ExpansionSinglePanel and use it on your side. 2) Why are you importing from ../../../../../../../@lib/svelte-materialify/packages/svelte-materialify/src/components/Icon 3) Here is the vercel log:

03:22:57.456    Cloning github.com/TheComputerM/svelte-materialify (Branch: overflow-fixes-and-ExpansionSingle{anel, Commit: a27a5c1)
03:22:57.910    Cloning completed: 453.978ms
03:22:57.910    Running "git diff --quiet HEAD^ HEAD ./packages/"
03:22:58.058    Analyzing source code...
03:23:00.102    Installing build runtime...
03:23:03.402    Build runtime installed: 3.299s
03:23:06.972    Looking up build cache...
03:23:07.720    Build cache found. Downloading...
03:23:11.250    Build cache downloaded [43.34 MB]: 3529.062ms
03:23:12.661    Detected package.json
03:23:12.661    Installing dependencies...
03:23:12.954    yarn install v1.22.10
03:23:13.084    [1/5] Validating package.json...
03:23:13.090    [2/5] Resolving packages...
03:23:14.166    [3/5] Fetching packages...
03:23:39.835    info fsevents@2.3.1: The platform "linux" is incompatible with this module.
03:23:39.835    info "fsevents@2.3.1" is an optional dependency and failed compatibility check. Excluding it from installation.
03:23:39.838    info fsevents@2.1.3: The platform "linux" is incompatible with this module.
03:23:39.838    info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
03:23:39.840    info fsevents@2.2.1: The platform "linux" is incompatible with this module.
03:23:39.840    info "fsevents@2.2.1" is an optional dependency and failed compatibility check. Excluding it from installation.
03:23:39.844    [4/5] Linking dependencies...
03:23:39.849    warning "lerna > @lerna/version > @lerna/github-client > @octokit/rest > @octokit/plugin-request-log@1.0.2" has unmet peer dependency "@octokit/core@>=3".
03:23:55.502    [5/5] Building fresh packages...
03:23:56.804    success Saved lockfile.
03:23:56.812    Done in 43.86s.
03:23:57.352    yarn run v1.22.10
03:23:57.388    $ lerna run docs
03:23:57.816    lerna notice cli v3.22.1
03:23:57.859    lerna info Executing command in 1 package: "yarn run docs"
03:24:27.638    lerna ERR! yarn run docs exited 1 in 'docs'
03:24:27.638    lerna ERR! yarn run docs stdout:
03:24:27.639    $ sapper export --legacy --ext ".svelte .md"
03:24:27.639    > Building...
03:24:27.639    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
03:24:27.639    lerna ERR! yarn run docs stderr:
03:24:27.639    [!] Error: Could not resolve '../../../../../../../@lib/svelte-materialify/packages/svelte-materialify/src/components/Icon' from ../svelte-materialify/src/components/ExpansionPanels/ExpansionSinglePanel.svelte
03:24:27.639    Error: Could not resolve '../../../../../../../@lib/svelte-materialify/packages/svelte-materialify/src/components/Icon' from ../svelte-materialify/src/components/ExpansionPanels/ExpansionSinglePanel.svelte
03:24:27.639        at error (/vercel/path0/node_modules/rollup/dist/shared/rollup.js:5240:30)
03:24:27.639        at ModuleLoader.handleResolveId (/vercel/path0/node_modules/rollup/dist/shared/rollup.js:18638:24)
03:24:27.640        at /vercel/path0/node_modules/rollup/dist/shared/rollup.js:18607:22
03:24:27.640        at async Promise.all (index 2)
03:24:27.640        at async ModuleLoader.fetchStaticDependencies (/vercel/path0/node_modules/rollup/dist/shared/rollup.js:18605:34)
03:24:27.640        at async Promise.all (index 0)
03:24:27.640        at async ModuleLoader.fetchModule (/vercel/path0/node_modules/rollup/dist/shared/rollup.js:18582:9)
03:24:27.640        at async Promise.all (index 2)
03:24:27.640        at async ModuleLoader.fetchStaticDependencies (/vercel/path0/node_modules/rollup/dist/shared/rollup.js:18605:34)
03:24:27.640        at async Promise.all (index 0)
vladblindu commented 3 years ago

I'm really sorry for the all the hassle I created.
I created a local copy containing the fixes, and probably this is why I didn't noticed this import statement was comming from a different place.The problem was I couldn't see Vercel's log. Only a big 404. You a re right about ExpansionSinglePanel. Ill keep it locally. Thanks again