Question regarding ControlStrings
See original GitHub issueCategory
[ ] Enhancement
[ ] Bug
[X ] Question
Version
1.11.0
Question
I have added the component (npm install) and added the ControlStrings entry in config.json, but when I serve the code and navigate to the workbench on Office 365 (not the local workbench) I get an error stating:
[SPLoaderError.loadComponentError]:
***Failed to load component XXX.
Original error: ***The entry point for component XXX has a dependency on "ControlStrings" that is not declared in the manifest.
The web part works fine on the local workbench, but I want to use the ListItemPicker with some SharePoint lists from an existing site without deploying the web part there.
Is this possible? Am I missing a step somewhere?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Question regarding ControlStrings · Issue #220 - GitHub
Question. I have added the component (npm install) and added the ControlStrings entry in config.json, but when I serve the code and navigate...
Read more >Export PnP reusable controls from SPFx library component
Vardhaman Deshpande has a great blog post on how to export a custom component using Office UI Fabric React from a SPFx library...
Read more >C Control Strings? - Stack Overflow
Control strings in scanf() are used to transfer the data to the processor's memory in a formatted way, whereas printf () transfers the...
Read more >MXA310 Crestron/AMX Control Strings - Service & Repair
Question. I want to control the MXA310 with a Crestron touchscreen. What are the API control strings? Answer. The MXA310 can be controlled...
Read more >Error when compiling after importing into my solution the sp ...
Try running below commands on in your package: npm i @microsoft/sp-core-library npm i ... Also, make sure you have "ControlStrings": ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks Alex. I was running node 8.12.0 on Windows 10. I noticed that the SPFx docs are currently recommending 8.15.0 so I switched to that in NVM and it started working ok. I then switched back to 8.12.0 and it still worked… I’m calling this ‘one of those things’ and moving on - thanks for your help.
hmmm… Maybe it’s somehow related to the environment you have. What OS, node and npm version do you use?
I’ve also shared my project with the code you provided (the difference - I’ve changed list id). You can check it here. It completely works for me. If it doesn’t for you then I bet it’s environment issue. For example, NodeJS version - SPFx works well with version 8.