question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question regarding ControlStrings

See original GitHub issue

Category

[ ] 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:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
CharlieDLeecommented, Jan 21, 2019

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.

0reactions
AJIXuMuKcommented, Jan 18, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found