You need to sign in to do that
Don't have an account?
akoch
LWC Deployment error: No Base File for Markup
Hello,
I'm stuck trying to deploy the simplest of Lightning Web Components from Visual Studio Code. I've successfully completed all of the Trailhead modules for LWC using the recommended extensions in VS Code. However, when I go to deploy my own components I'm faced with a "No base file for markup://c:pmLetter"
pmLetter is the name of the component and the project folder. I've also reviewed similar postings on this issue:
I'm stuck trying to deploy the simplest of Lightning Web Components from Visual Studio Code. I've successfully completed all of the Trailhead modules for LWC using the recommended extensions in VS Code. However, when I go to deploy my own components I'm faced with a "No base file for markup://c:pmLetter"
pmLetter is the name of the component and the project folder. I've also reviewed similar postings on this issue:
- https://developer.salesforce.com/forums/?id=9062I000000IG06QAG (https://developer.salesforce.com/forums/?id=9062I000000IG06QAG" target="_blank)
- https://developer.salesforce.com/forums/?id=9062I000000g7UlQAI (https://developer.salesforce.com/forums/?id=9062I000000g7UlQAI" target="_blank)
- https://salesforce.stackexchange.com/questions/255061/no-base-file-for-markup-error-when-pushing-lwc-code-into-a-new-scratch-org/257901 (https://salesforce.stackexchange.com/questions/255061/no-base-file-for-markup-error-when-pushing-lwc-code-into-a-new-scratch-org/257901" target="_blank)
import { LightningElement, track } from 'lwc'; export default class PmLetter extends LightningElement { @track greeting = 'World'; }pmLetter.html
<template> <p>Some Text Here</p> </template>pmLetter.js-meta.xml
<?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="pmLetter"> <apiVersion>45.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__AppPage</target> <target>lightning__RecordPage</target> <target>lightning__HomePage</target> </targets> </LightningComponentBundle>jsconfig.json (in lwc folder)
{ "compilerOptions": { "baseUrl": ".", "paths": { "c/pmLetter": [ "pmLetter/pmLetter.js" ] }, "experimentalDecorators": true }, "include": [ "**/*", "../../../../.sfdx/typings/lwc/**/*.d.ts" ], "typeAcquisition": { "include": [ "jest" ] } }