stackblitz / bolt.new

Prompt, run, edit, and deploy full-stack web applications
https://bolt.new
MIT License
8.86k stars 3.5k forks source link

Problems running app not launching into NativeScript after qrcode and app setup there is a build failure. #3270

Open shawnurquhart opened 13 hours ago

shawnurquhart commented 13 hours ago

Describe the bug

Created app across platforms as requested. Originally requested for next.js but not displaying in preview window other than qrcode and request to install NativeScript app. Have done this and scanned qrcode, appears to start to work then fails on build. Have tried several times but same issues. Some errors shown leading to this...

I notice there are some dependency issues that need to be fixed. Let me update the package.json with the correct dependencies and ensure everything is properly configured.

Let me help you fix this issue. The main problem is that we need to properly set up the Next.js application structure and ensure all required files are in place.

I notice that we're trying to run a Next.js application in a NativeScript environment. This is causing the conflict since these are two different frameworks with different purposes. Let me help you create a proper cross-platform solution using NativeScript with React.

Let me help you fix the preview bundle loading issue. The error occurs because we need to ensure the NativeScript project structure is correct and properly configured. Let's update the necessary files:

Let me help fix the preview bundle loading issues. We need to simplify the project structure and ensure it's properly configured for NativeScript. I'll update the necessary files:

I've upgraded to PRO because I ran out of credit for today because this has failed so many times.

This is the current screen...you can see there's nothing again bolt - errors - 28-Nov-2024 - error 1

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-gfhizj

Steps to reproduce

I don't think you need me to explain - the above explanation should be enough

Expected behavior

I'm not getting anything yet - just want to see something

Screen Recording / Screenshot

No response

Platform

Browser name = Chrome
Full version = 128.0.0.0
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 51517109,
  "usedJSHeapSize": 49312481,
  "jsHeapSizeLimit": 2172649472
}
Username = shawnurquhart
Chat ID = 5b42860c1a76

Additional context

No response

shawnurquhart commented 13 hours ago

This is a screen shot from the NativeScript android app - after scanning the qrcode, it appeared to iteract with the browser installation and display the android device connected but an error on the phone suggesting a build error and that was it.

Screenshot_20241128_012304_NativeScript Preview