Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'local development'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges

Found 7 results

  1. Hi all, I am new to squarespace and trying to setup so I can develop locally. I followed the basic beginner guide and finished it but now I want to develop local instead of push to squarespace with git every change. The issue is whenever I run the command squarespace-server http://mywebsite --auth I get this error below that the ampersand character is not allowed. This is from the powershell script in my npm folder. Every other npm script uses node and for some reason squarespace uses echo. Has anyone else had this issue? Does squarespace not support windows 10?
  2. I am following this (pretty basic) guide for installing the SquareSpace dev server and am running into permissions errors? 🤷‍♂️ Running macOS Sierra 10.12.6 NPM version is at 6.14.4 Any ideas? Error: EACCES: permission denied, open 'build/distributions/local-developer/bin/run.bat' at Object.openSync (fs.js:439:3) at Object.writeFileSync (fs.js:1190:35) at main (/usr/local/lib/node_modules/@squarespace/server/scripts/copyfile.js:48:6) at Object.<anonymous> (/usr/local/lib/node_modules/@squarespace/server/scripts/copyfile.js:56:1) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @squarespace/server@1.6.2 copyrunscript: `node scripts/copyfile.js build/distributions/local-developer/bin/run.bat darwin:build/distributions/local-developer/bin/osx-local-developer win32:build/distributions/local-developer/bin/win-local-developer.bat linux:build/distributions/local-developer/bin/linux-local-developer build/distributions/local-developer/bin/local-developer` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @squarespace/server@1.6.2 copyrunscript script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. Command failed: npm run copyrunscript npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @squarespace/server@1.6.2 preinstall: `npm run accept && node scripts/execif.js --exists=build npm run copyrunscript` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @squarespace/server@1.6.2 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  3. Site URL: https://1lifeproducts.com Hello,Hoping someone can help... I have completed the squares API Form using Nodejs on my local server and Im accessing squarespace servers locally -- whats the best way to integrate/insert my square form which is running on localhost:3000 into my sqarespace development template running on localhost:9000 so square payment processing is up and running properly on my clients squarespace ecommerce site.... Thanx so much in advance Mike
  4. Site URL: https://peaches-jang.squarespace.com/ Hi, This is my first time working with Squarespace. I'm experienced with doing Shopify development, so this is a bit different from that. I can get my template running locally, but it isn't loading the stylesheet. Attached is a screenshot of what I see when the server boots up. It's loading all the proper assets and copy from the live site, but I have an error in console. Failed to load resource: the server responded with a status of 500 (Internal Server Error) Any idea how to approach this problem? Thanks
  5. Would anyone be able to help me on this, please? I'm trying to set up Squarespace local development server on my machine. I followed the documentation on this page https://developers.squarespace.com/local-development. and here's what I've done: - install squarespace server through npm - enable developer mode on my site & clone it locally - start my local squarespace server by running squarespace-server https://dragonfly-parrotfish-xtjs.squarespace.com/ --auth command. - i got prompt Please navigate to the following URL:https://login.squarespace.com/api/1/login... - After following the prompts, please enter the code shown in the browser: - I copied the code I got from clicking the URL and paste it as respond of the prompt. But I got following error message: Unable to start server, shutting down javax.servlet.ServletException: io.dropwizard.jersey.setup.JerseyServletContainer-2b2954e1@35fd41e0==io.dropwizard.jersey.setup.JerseyServletContainer,jsp=null,order=1,inst=false,async=true at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:692) at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:428) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750) at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at com.codahale.metrics.jetty9.InstrumentedHandler.doStart(InstrumentedHandler.java:101) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:406) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:256) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.server.Server.start(Server.java:418) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.Server.doStart(Server.java:382) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53) at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:44) at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87) at io.dropwizard.cli.Cli.run(Cli.java:78) at io.dropwizard.Application.run(Application.java:93) at com.squarespace.developer.DevelopmentServer.main(DevelopmentServer.java:61) Caused by: java.lang.IllegalArgumentException: Expected state does not match received state. at com.squarespace.developer.auth.SiteLoginHelper.performFullAuthorization(SiteLoginHelper.java:92) at java.util.Optional.orElseGet(Optional.java:267) at com.squarespace.developer.auth.SiteLoginHelper.initializeTokens(SiteLoginHelper.java:57) at com.squarespace.developer.DevelopmentServerLifecycleListener.onStartup(DevelopmentServerLifecycleListener.java:34) at org.glassfish.jersey.server.ApplicationHandler.onStartup(ApplicationHandler.java:1180) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:179) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) at javax.servlet.GenericServlet.init(GenericServlet.java:244) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:671) ... 49 common frames omitted javax.servlet.ServletException: io.dropwizard.jersey.setup.JerseyServletContainer-2b2954e1@35fd41e0==io.dropwizard.jersey.setup.JerseyServletContainer,jsp=null,order=1,inst=false,async=true at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:692) at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:428) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750) at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at com.codahale.metrics.jetty9.InstrumentedHandler.doStart(InstrumentedHandler.java:101) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:406) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:256) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) at org.eclipse.jetty.server.Server.start(Server.java:418) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.Server.doStart(Server.java:382) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53) at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:44) at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87) at io.dropwizard.cli.Cli.run(Cli.java:78) at io.dropwizard.Application.run(Application.java:93) at com.squarespace.developer.DevelopmentServer.main(DevelopmentServer.java:61) Caused by: java.lang.IllegalArgumentException: Expected state does not match received state. at com.squarespace.developer.auth.SiteLoginHelper.performFullAuthorization(SiteLoginHelper.java:92) at java.util.Optional.orElseGet(Optional.java:267) at com.squarespace.developer.auth.SiteLoginHelper.initializeTokens(SiteLoginHelper.java:57) at com.squarespace.developer.DevelopmentServerLifecycleListener.onStartup(DevelopmentServerLifecycleListener.java:34) at org.glassfish.jersey.server.ApplicationHandler.onStartup(ApplicationHandler.java:1180) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:179) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) at javax.servlet.GenericServlet.init(GenericServlet.java:244) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:671) ... 49 more Thanks in advanced!
  6. Hi I'm using Squarespace Local Development Server but whenever I run a squarespace/server it says: -bash: squarespace/server: No such file or directory While npm says the package should be installed. I've already re-installed node with a node version manager. How can I fix this?
  7. Hi! I'm having trouble installing the @squarespace/server on my new machine (I run into issues with this every time I set it up but am unable to find what I have done to fix it in the past). It claims to install fine (I am using the global flag) however the command continues to return as unfound when I attempt to initialize it.
×
×
  • Create New...