René's URL Explorer Experiment


Title: No build script in the default package.json · Issue #34 · staticwebdev/vanilla-basic · GitHub

Open Graph Title: No build script in the default package.json · Issue #34 · staticwebdev/vanilla-basic

X Title: No build script in the default package.json · Issue #34 · staticwebdev/vanilla-basic

Description: After following https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript my first deploy failed with logs like this: /usr/bin/docker run --name c0442fd7fd7dbfb744c4f92002043a0736abb_229844 --label 6...

Open Graph Description: After following https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript my first deploy failed with logs like this: /usr/bin/docker run --name c0442fd7fd7dbf...

X Description: After following https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript my first deploy failed with logs like this: /usr/bin/docker run --name c0442fd7fd7dbf...

Opengraph URL: https://github.com/staticwebdev/vanilla-basic/issues/34

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No build script in the default package.json","articleBody":"After following https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript my first deploy failed with logs like this:\r\n\r\n```\r\n/usr/bin/docker run --name c0442fd7fd7dbfb744c4f92002043a0736abb_229844 --label 6c0442 --workdir /github/workspace --rm -e \"INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN\" -e \"INPUT_REPO_TOKEN\" -e \"INPUT_ACTION\" -e \"INPUT_APP_LOCATION\" -e \"INPUT_API_LOCATION\" -e \"INPUT_OUTPUT_LOCATION\" -e \"INPUT_API_BUILD_COMMAND\" -e \"INPUT_APP_ARTIFACT_LOCATION\" -e \"INPUT_APP_BUILD_COMMAND\" -e \"INPUT_ROUTES_LOCATION\" -e \"INPUT_SKIP_APP_BUILD\" -e \"INPUT_CONFIG_FILE_LOCATION\" -e \"INPUT_SKIP_API_BUILD\" -e \"INPUT_PRODUCTION_BRANCH\" -e \"INPUT_DEPLOYMENT_ENVIRONMENT\" -e \"INPUT_IS_STATIC_EXPORT\" -e \"INPUT_DATA_API_LOCATION\" -e \"HOME\" -e \"GITHUB_JOB\" -e \"GITHUB_REF\" -e \"GITHUB_SHA\" -e \"GITHUB_REPOSITORY\" -e \"GITHUB_REPOSITORY_OWNER\" -e \"GITHUB_REPOSITORY_OWNER_ID\" -e \"GITHUB_RUN_ID\" -e \"GITHUB_RUN_NUMBER\" -e \"GITHUB_RETENTION_DAYS\" -e \"GITHUB_RUN_ATTEMPT\" -e \"GITHUB_REPOSITORY_ID\" -e \"GITHUB_ACTOR_ID\" -e \"GITHUB_ACTOR\" -e \"GITHUB_TRIGGERING_ACTOR\" -e \"GITHUB_WORKFLOW\" -e \"GITHUB_HEAD_REF\" -e \"GITHUB_BASE_REF\" -e \"GITHUB_EVENT_NAME\" -e \"GITHUB_SERVER_URL\" -e \"GITHUB_API_URL\" -e \"GITHUB_GRAPHQL_URL\" -e \"GITHUB_REF_NAME\" -e \"GITHUB_REF_PROTECTED\" -e \"GITHUB_REF_TYPE\" -e \"GITHUB_WORKFLOW_REF\" -e \"GITHUB_WORKFLOW_SHA\" -e \"GITHUB_WORKSPACE\" -e \"GITHUB_ACTION\" -e \"GITHUB_EVENT_PATH\" -e \"GITHUB_ACTION_REPOSITORY\" -e \"GITHUB_ACTION_REF\" -e \"GITHUB_PATH\" -e \"GITHUB_ENV\" -e \"GITHUB_STEP_SUMMARY\" -e \"GITHUB_STATE\" -e \"GITHUB_OUTPUT\" -e \"RUNNER_OS\" -e \"RUNNER_ARCH\" -e \"RUNNER_NAME\" -e \"RUNNER_TOOL_CACHE\" -e \"RUNNER_TEMP\" -e \"RUNNER_WORKSPACE\" -e \"ACTIONS_RUNTIME_URL\" -e \"ACTIONS_RUNTIME_TOKEN\" -e \"ACTIONS_CACHE_URL\" -e GITHUB_ACTIONS=true -e CI=true -v \"/var/run/docker.sock\":\"/var/run/docker.sock\" -v \"/home/runner/work/_temp/_github_home\":\"/github/home\" -v \"/home/runner/work/_temp/_github_workflow\":\"/github/workflow\" -v \"/home/runner/work/_temp/_runner_file_commands\":\"/github/file_commands\" -v \"/home/runner/work/staticwebdev/staticwebdev\":\"/github/workspace\" 6c0442:fd7fd7dbfb744c4f92002043a0736abb\r\nDeploymentId: 87d77552-21a5-4807-80fc-315a829fc18f\r\n\r\nApp Directory Location: '/' was found.\r\nLooking for event info\r\nStarting to build app with Oryx\r\nAzure Static Web Apps utilizes Oryx to build both static applications and Azure Functions. You can find more details on Oryx here: https://github.com/microsoft/Oryx\r\n---Oryx build logs---\r\n\r\n\r\nOperation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx\r\nYou can report issues at https://github.com/Microsoft/Oryx/issues\r\n\r\nOryx Version: 0.2.20221[10](https://github.com/foolip/staticwebdev/actions/runs/4597879955/jobs/8121162205#step:4:11)3.1, Commit: a2c65dde152b749fea395f4d1242ea9350942258, ReleaseTagName: 2022[11](https://github.com/foolip/staticwebdev/actions/runs/4597879955/jobs/8121162205#step:4:12)03.1\r\n\r\nBuild Operation ID: |julP4J9dgIQ=.3ba08750_\r\nRepository Commit : 7ec1c3bb097bfd385b1ea9b88cdee3c363b6647f\r\n\r\nDetecting platforms...\r\nDetected following platforms:\r\n  nodejs: [16](https://github.com/foolip/staticwebdev/actions/runs/4597879955/jobs/8121162205#step:4:17).[19](https://github.com/foolip/staticwebdev/actions/runs/4597879955/jobs/8121162205#step:4:20).0\r\nVersion '16.19.0' of platform 'nodejs' is not installed. Generating script to install it...\r\nError: Could not find either 'build' or 'build:azure' node under 'scripts' in package.json. Could not find value for custom run build command using the environment variable key 'RUN_BUILD_COMMAND'.Could not find tools for building monorepos, no 'lerna.json' or 'lage.config.js' files found.\r\n\r\n\r\n---End of Oryx build logs---\r\nOryx could not find a 'build' or 'build:azure' script in the package configuration. Please add one of these commands to your package configuration file (i.e. package.json). Alternatively, you can add the app_build_command to the build/deploy section of your workflow file. For example, app_build_command: 'npm run docs:build'\r\n\r\nFor further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/\r\nIf you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/\r\nExiting\r\n```\r\n\r\nThe important part:\r\n\r\n\u003e Oryx could not find a 'build' or 'build:azure' script in the package configuration.\r\n\r\nAdding a build script fixed this. A small (but wrong) fix is:\r\n\r\n```diff\r\n--- a/package.json\r\n+++ b/package.json\r\n@@ -2,6 +2,7 @@\r\n   \"name\": \"vanilla-basic\",\r\n   \"version\": \"1.0.0\",\r\n   \"scripts\": { \r\n+    \"build\": \"cp -a src dist\",\r\n     \"start\": \"sirv ./src public --cors --single --no-clear --port 8000\"\r\n   }\r\n }\r\n```","author":{"url":"https://github.com/foolip","@type":"Person","name":"foolip"},"datePublished":"2023-04-03T14:42:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/34/vanilla-basic/issues/34"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ccb55030-f0ca-80a3-4555-640ab478d8d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB62:1A40FC:1BE646:24E380:6969BBD9
html-safe-nonce33985f64f989ab54308a6073e18a31b1da7fdc2d85cb95fa5b5fa073f2bfef2a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjYyOjFBNDBGQzoxQkU2NDY6MjRFMzgwOjY5NjlCQkQ5IiwidmlzaXRvcl9pZCI6IjQxMzExMjAzNTk5MTk5NTkwMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac82027cf6f294233e9f8e903a1fb35fa54f52ffd17a62c67c82d2ac247fb5d43a
hovercard-subject-tagissue:1652213737
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/staticwebdev/vanilla-basic/34/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4692ddd4a7e71cbc53f628e4df4fddbcc1907c1c7ac212fefab09d0f592c309b/staticwebdev/vanilla-basic/issues/34
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4692ddd4a7e71cbc53f628e4df4fddbcc1907c1c7ac212fefab09d0f592c309b/staticwebdev/vanilla-basic/issues/34
og:image:altAfter following https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript my first deploy failed with logs like this: /usr/bin/docker run --name c0442fd7fd7dbf...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefoolip
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/staticwebdev/vanilla-basic git https://github.com/staticwebdev/vanilla-basic.git
octolytics-dimension-user_id62345156
octolytics-dimension-user_loginstaticwebdev
octolytics-dimension-repository_id251693511
octolytics-dimension-repository_nwostaticwebdev/vanilla-basic
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id251693511
octolytics-dimension-repository_network_root_nwostaticwebdev/vanilla-basic
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/staticwebdev/vanilla-basic/issues/34#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstaticwebdev%2Fvanilla-basic%2Fissues%2F34
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstaticwebdev%2Fvanilla-basic%2Fissues%2F34
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=staticwebdev%2Fvanilla-basic
Reloadhttps://github.com/staticwebdev/vanilla-basic/issues/34
Reloadhttps://github.com/staticwebdev/vanilla-basic/issues/34
Reloadhttps://github.com/staticwebdev/vanilla-basic/issues/34
staticwebdev https://github.com/staticwebdev
vanilla-basichttps://github.com/staticwebdev/vanilla-basic
Notifications https://github.com/login?return_to=%2Fstaticwebdev%2Fvanilla-basic
Fork 289 https://github.com/login?return_to=%2Fstaticwebdev%2Fvanilla-basic
Star 62 https://github.com/login?return_to=%2Fstaticwebdev%2Fvanilla-basic
Code https://github.com/staticwebdev/vanilla-basic
Issues 8 https://github.com/staticwebdev/vanilla-basic/issues
Pull requests 7 https://github.com/staticwebdev/vanilla-basic/pulls
Actions https://github.com/staticwebdev/vanilla-basic/actions
Projects 0 https://github.com/staticwebdev/vanilla-basic/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/staticwebdev/vanilla-basic/security
Please reload this pagehttps://github.com/staticwebdev/vanilla-basic/issues/34
Insights https://github.com/staticwebdev/vanilla-basic/pulse
Code https://github.com/staticwebdev/vanilla-basic
Issues https://github.com/staticwebdev/vanilla-basic/issues
Pull requests https://github.com/staticwebdev/vanilla-basic/pulls
Actions https://github.com/staticwebdev/vanilla-basic/actions
Projects https://github.com/staticwebdev/vanilla-basic/projects
Security https://github.com/staticwebdev/vanilla-basic/security
Insights https://github.com/staticwebdev/vanilla-basic/pulse
New issuehttps://github.com/login?return_to=https://github.com/staticwebdev/vanilla-basic/issues/34
New issuehttps://github.com/login?return_to=https://github.com/staticwebdev/vanilla-basic/issues/34
No build script in the default package.jsonhttps://github.com/staticwebdev/vanilla-basic/issues/34#top
https://github.com/foolip
https://github.com/foolip
fooliphttps://github.com/foolip
on Apr 3, 2023https://github.com/staticwebdev/vanilla-basic/issues/34#issue-1652213737
https://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascripthttps://learn.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.