Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

About sybilrondeau

  • Birthday 06/10/1975

Profile Information

  • Gender
  • Location
    Nantes, France

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sybilrondeau's Achievements

  1. I did nothing, @Cassie did ! But be aware, as she said, it can also break the installation as it will be ok for gsap but not the other packages, so it's not so much a good solution for everybody.
  2. Hi ! I put this line : registry=https://npm.greensock.com in the .npmrc file and it worked ! But Cassie said it could fail because of the other packages... so I deleted it and now each time I push on Github it's still working. Have you tried it ?
  3. Well I pushed again on Github and it seems it is still working...
  4. Hi @Cassie ! I tried with the tips on your previous post and it worked ! Why did you delete it ? With registry=https://npm.greensock.com added to the .npmrc
  5. Thank you, this guy has the exact same error... I'll see there if they found a solution.
  6. hi @Gr0x, I am exactly in the same situation. Did you find out how to deploy ?
  7. When I use the private registry, how should I import the files ? In static ? Or just : import gsap from 'gsap' import ScrollTrigger from 'gsap/ScrollTrigger.js' ?
  8. Ok So I tried doing the private registry and what @Prasanna said about deploying in Netlify but I got this now : 10:34:21 PM: Installing NPM modules using Yarn version 1.22.4 10:34:22 PM: yarn install v1.22.4 10:34:22 PM: [1/4] Resolving packages... 10:34:23 PM: [2/4] Fetching packages... 10:34:24 PM: error An unexpected error occurred: "https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.6.1.tgz: Request failed \"403 Forbidden\"".
  9. But thoses files are in gitignore too so... it's normal it can't resolve the path ?!
  10. So now I have all gsap files in static folder (gsap, ScrollTrigger, DrawSVGPlugin and MorphSVGPlugin). I had the scripts in the head : script: [ { src: '/MorphSVGPlugin.min.js', body: true }, { src: '/ScrollTrigger.min.js', body: true }, { src: '/gsap.min.js', body: true }, { src: '/DrawSVGPlugin.min.js', body: true }, ], and I import them like this in a file or component, for example : import { gsap } from '~/static/gsap.min.js'; import { ScrollTrigger } from '~/static/ScrollTrigger.min.js'; gsap.registerPlugin(ScrollTrigger) I works fine in dev mode. But on Netlify I have this error : 9:15:51 PM: $ yarn generate 9:15:51 PM: yarn run v1.22.4 9:15:51 PM: $ nuxt generate 9:16:16 PM: [fatal] Nuxt build error 9:16:16 PM: ERROR in ./components/BasePortrait.vue?vue&type=script&lang=js& (./node_modules/@nuxt/webpack/node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/BasePortrait.vue?vue&type=script&lang=js&) 9:16:16 PM: Module not found: Error: Can't resolve '~/static/DrawSVGPlugin.min.js' in 'components' @ ./components/BasePortrait.vue?vue&type=script&lang=js& (./node_modules/@nuxt/webpack/node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/BasePortrait.vue?vue&type=script&lang=js&) 21:0-62 22:20-33 9:16:16 PM: @ ./components/BasePortrait.vue?vue&type=script&lang=js& 9:16:16 PM: @ ./components/BasePortrait.vue 9:16:16 PM: @ ./node_modules/.cache/nuxt/components/plugin.js 9:16:16 PM: @ ./node_modules/.cache/nuxt/index.js 9:16:16 PM: @ ./node_modules/.cache/nuxt/client.js 9:16:16 PM: @ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/.cache/nuxt/client.js 9:16:16 PM: ERROR in ./components/TheNavBar.vue?vue&type=script&lang=js& (./node_modules/@nuxt/webpack/node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/TheNavBar.vue?vue&type=script&lang=js&) 9:16:16 PM: Module not found: Error: Can't resolve '~/static/MorphSVGPlugin.min.js' in 'components' And so on... with all gsap files. Should I try @Prasanna method instead ? Going back with the tgz file ? I am lost 😕
  11. Hi ! My repo is public so I can't have this file in it. My questions are : - do I really need it ? (as I use the plugins bonus minified files in the static folder) - and if the answer is yes, how can I do ?
  12. Hi I have the same issue (error "gsap-bonus.tgz": Tarball is not in network and can not be located in cache) when deploying on Netlify. I understand that it is because the file is not on my github repo and that's ok because it should be private. But I use the js minified bonus files in the static folder of Nuxt. So I wonder if I really need the tgz file in the first place because I already use the plugins files in static. So I tried to remove the tgz file and install a regular yarn add gsap instead but I have an error each time... So how should I do ? I am a little lost with all that... If I need the tgz and put it in a private repo on github, how to I link it to my project ? Regards.
  13. Thank you very much for your time ! That's so obvious now ! Yes as it is my first step into the framework there is certainly a lot to care of . Thank you again !
  14. oh yes sorry I didn't push the last work. I do it now !